From 4439ee3ff9378006668b84e844411565b586a67e Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Thu, 2 Feb 2017 01:41:33 +0100 Subject: [PATCH] Remove pointless enter close in book GUI --- mods/mcl_books/init.lua | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/mods/mcl_books/init.lua b/mods/mcl_books/init.lua index dedd96cc..39bf6d0b 100644 --- a/mods/mcl_books/init.lua +++ b/mods/mcl_books/init.lua @@ -69,9 +69,7 @@ minetest.register_on_player_receive_fields(function ( player, formname, fields ) "label[0.5,1.5;"..core.colorize("#404040", minetest.formspec_escape("by " .. name)).."]".. "label[0.5,7.15;"..core.colorize("#000000", "Note: The book will no longer") .. "\n" .. core.colorize("#000000", "be editable after signing.").."]".. "button_exit[0.5,8.15;3,1;sign;Sign and Close]".. - "button[4,8.15;3,1;cancel;Cancel]".. - "field_close_on_enter[title;false]".. - "field_close_on_enter[sign;false]" + "button[4,8.15;3,1;cancel;Cancel]" minetest.show_formspec(player:get_player_name(), "mcl_books:signing", formspec) end end