change set_look_yaw to set_look_horizontal

This commit is contained in:
tenplus1 2020-12-13 17:06:58 +00:00
parent 2913807d84
commit d308e0d73e

View file

@ -111,6 +111,7 @@ minetest.register_node("teleport_potion:portal", {
waving = 1, waving = 1,
sunlight_propagates = true, sunlight_propagates = true,
damage_per_second = 1, -- walking into portal hurts player damage_per_second = 1, -- walking into portal hurts player
groups = {not_in_creative_inventory = 1},
-- start timer when portal appears -- start timer when portal appears
on_construct = function(pos) on_construct = function(pos)
@ -506,7 +507,7 @@ minetest.register_abm({
yaw = 1.57 -- east yaw = 1.57 -- east
end end
objs[n]:set_look_yaw(yaw) objs[n]:set_look_horizontal(yaw)
end end
end end
end end