fix another screwdriver crash

This commit is contained in:
HybridDog 2015-04-18 11:51:06 +02:00
parent dcbe2523d5
commit f31f96b4bd
1 changed files with 3 additions and 0 deletions

View File

@ -113,6 +113,9 @@ end
local function return_remove_next(allowed_name)
local function remove_next(pos, oldnode)
if oldnode.param2 > 3 then
return
end
local x, z = unpack(string.split(param_tab2[oldnode.param2], " "))
pos.x = pos.x-x
pos.z = pos.z-z