mirror of
https://github.com/mt-mods/homedecor_modpack.git
synced 2024-12-23 08:20:21 +01:00
fix bad facedir setting on punch to turn on/off
This commit is contained in:
parent
9869520097
commit
4279d90049
@ -125,7 +125,7 @@ minetest.register_node("plasmascreen:tv", {
|
|||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
on_punch = function(pos, node, puncher, pointed_thing)
|
on_punch = function(pos, node, puncher, pointed_thing)
|
||||||
minetest.set_node(pos, {name = "plasmascreen:tv_off", param2 = node.fdir})
|
minetest.set_node(pos, {name = "plasmascreen:tv_off", param2 = node.param2})
|
||||||
end
|
end
|
||||||
})
|
})
|
||||||
|
|
||||||
@ -152,7 +152,7 @@ minetest.register_node("plasmascreen:tv_off", {
|
|||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
on_punch = function(pos, node, puncher, pointed_thing)
|
on_punch = function(pos, node, puncher, pointed_thing)
|
||||||
minetest.set_node(pos, {name = "plasmascreen:tv", param2 = node.fdir})
|
minetest.set_node(pos, {name = "plasmascreen:tv", param2 = node.param2})
|
||||||
end,
|
end,
|
||||||
drop = "plasmascreen:tv"
|
drop = "plasmascreen:tv"
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user