mirror of
http://repo.or.cz/minetest_pyramids/tsm_pyramids.git
synced 2024-12-22 15:30:19 +01:00
Replace nodeupdate call
This commit is contained in:
parent
74597d9394
commit
7949f68e12
@ -33,7 +33,7 @@ local trap_on_timer = function (pos, elapsed)
|
|||||||
if n and n.name then
|
if n and n.name then
|
||||||
if minetest.registered_nodes[n.name]._tsm_pyramids_crack and minetest.registered_nodes[n.name]._tsm_pyramids_crack < 2 then
|
if minetest.registered_nodes[n.name]._tsm_pyramids_crack and minetest.registered_nodes[n.name]._tsm_pyramids_crack < 2 then
|
||||||
minetest.set_node(pos, {name="tsm_pyramids:trap_2"})
|
minetest.set_node(pos, {name="tsm_pyramids:trap_2"})
|
||||||
nodeupdate(pos)
|
minetest.check_for_falling(pos)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user