mirror of
https://gitlab.com/4w/mtimer.git
synced 2024-11-24 08:13:48 +01:00
make visibility formspec update after change
fixes https://gitlab.com/4w/mtimer/-/issues/17
This commit is contained in:
parent
062c01e535
commit
90d005dcd6
@ -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
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user