diff options
author | Thomas--S <Thomas--S@users.noreply.github.com> | 2018-07-16 17:25:43 +0200 |
---|---|---|
committer | SmallJoker <SmallJoker@users.noreply.github.com> | 2018-07-16 17:25:43 +0200 |
commit | 0fcc7a14c2d60e22d41b66b9008119171aff1681 (patch) | |
tree | a7d818153842dec94eaedb4c40b8a5c7cbe0b269 | |
parent | 68fac3ed7b28d05d71f26a8dcd1be49ba376afaf (diff) |
Replace old nodeupdate() with new minetest.check_for_falling() (#391)
-rw-r--r-- | technic/machines/other/constructor.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/technic/machines/other/constructor.lua b/technic/machines/other/constructor.lua index 5847fdb..0a62a7c 100644 --- a/technic/machines/other/constructor.lua +++ b/technic/machines/other/constructor.lua @@ -99,7 +99,7 @@ local function make_on(mark, length) if node.name == "technic:constructor_mk"..mark.."_off" then technic.swap_node(pos, "technic:constructor_mk"..mark.."_on") - nodeupdate(pos) + minetest.check_for_falling(pos) for i = 1, length do place_pos = vector.add(place_pos, dir) local place_node = minetest.get_node(place_pos) @@ -113,7 +113,7 @@ local function make_off(mark) return function(pos, node) if node.name == "technic:constructor_mk"..mark.."_on" then technic.swap_node(pos,"technic:constructor_mk"..mark.."_off") - nodeupdate(pos) + minetest.check_for_falling(pos) end end end |