Chinchilla
Chinchilla copied to clipboard
Compass Error in instances
Compass.lua#31 - seems like GetPlayerFacing()
might return nil
I solved it by doing
local angle = 0
local facing = GetPlayerFacing() or 0
if rotateMinimap == "1" then
angle = -facing or angle
end
Looks like they changed how maths works and we can't have negative nil any more. 😛 Oh well.
...or they simply made GetPlayerFacing() not work at all in dungeons. Welp.
I think it's negative nil
since the rotating map still works reliably - i think they have some rate limiting or something like that. it just sometimes returns nil instead of 0