diff --git a/system/on_receive_fields.lua b/system/on_receive_fields.lua index 1374805..c7ccf85 100644 --- a/system/on_receive_fields.lua +++ b/system/on_receive_fields.lua @@ -39,6 +39,7 @@ minetest.register_on_player_receive_fields(function(player, formname, fields) if fields.set_visible then meta:set_string(attr.key, 'true') end if fields.set_invisible then meta:set_string(attr.key, 'false') end if fields.default then meta:set_string(attr.key, attr.default) end + if not fields.quit then d.set_visibility(name) end end