1
0
Fork 0

fix leftover pi shortcut

csm-enabled
cora 2022-11-11 01:26:03 +01:00
parent faa38ffab8
commit db63f1c453
2 changed files with 1 additions and 4 deletions

View File

@ -514,9 +514,6 @@ function mob_class:on_step(dtime)
end
end
local timer = 0
minetest.register_globalstep(function(dtime)
timer = timer + dtime

View File

@ -570,7 +570,7 @@ function mob_class:check_runaway_from()
local yaw = (atan(vec.z / vec.x) + 3 *math.pi/ 2) - self.rotate
if lp.x > s.x then
yaw = yaw + pi
yaw = yaw + math.pi
end
yaw = self:set_yaw( yaw, 4)