Close power storage inspector after pressing update
This commit is contained in:
parent
bc85a5449d
commit
1ae369c40e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user