From 074c798468d8ed1ed3bd572b9b0aa9d6cf9ab7d7 Mon Sep 17 00:00:00 2001 From: HybridDog Date: Mon, 15 Feb 2016 17:51:35 +0100 Subject: [PATCH] fix infinite loop after digging a stargate --- gate_defs.lua | 1 - 1 file changed, 1 deletion(-) diff --git a/gate_defs.lua b/gate_defs.lua index 10aa054..d60ef4d 100644 --- a/gate_defs.lua +++ b/gate_defs.lua @@ -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