Merge pull request #4 from HybridDog/crashfix

fix infinite loop after digging a stargate
This commit is contained in:
Auke Kok 2016-02-21 11:01:58 -08:00
commit 76d1b01e52

View File

@ -145,7 +145,6 @@ function removeGate (pos)
local player_name=meta:get_string("owner")
local gateNodes=minetest.deserialize(meta:get_string("gateNodes"))
if gateNodes ~= nil then
core.remove_node(gateNodes[1].pos)
stargate.unregisterGate(player_name,gateNodes[1].pos)
end
end