mirror of
https://github.com/minetest-mods/mesecons.git
synced 2024-09-12 07:58:32 +02:00
Fix mesecon:updatenode for the last Time...
This commit is contained in:
parent
f4782df445
commit
13538d56d9
@ -385,7 +385,7 @@ function mesecon:check_if_turnon(pos)
|
||||
end
|
||||
|
||||
function mesecon:updatenode(pos)
|
||||
if mesecon:connected_to_pw_src(pos, 0, 0, 0) then
|
||||
if mesecon:connected_to_pw_src(pos, 0, 0, 0, {}) then
|
||||
mesecon:turnon(pos, 0, 0, 0)
|
||||
else
|
||||
mesecon:turnoff(pos, 0, 0, 0)
|
||||
|
Loading…
Reference in New Issue
Block a user