Close power storage inspector after pressing update

This commit is contained in:
mrkubax10 2023-03-12 12:12:29 +01:00
parent bc85a5449d
commit 1ae369c40e
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ minetest.register_on_player_receive_fields(function(player,formname,fields)
if def and def._industrialtest_updateFormspec then
def._industrialtest_updateFormspec(meta)
end
inspectNode(context,player:get_player_name())
minetest.close_formspec(player:get_player_name(),formname)
elseif fields.triggerNeighbours then
industrialtest.api.triggerNeighbours(context)
end