forked from Mineclonia/Mineclonia
Remove pointless enter close in book GUI
This commit is contained in:
parent
48b282d68b
commit
4439ee3ff9
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue