diff --git a/init.lua b/init.lua index b5eed07..1ec45ee 100644 --- a/init.lua +++ b/init.lua @@ -125,7 +125,7 @@ function update_hud_displays(player) local yaw = math.floor((player:get_look_yaw()-math.pi*0.5)/(2*math.pi)*360) local pitch = math.floor(player:get_look_pitch()/math.pi*360) - if compass and sextant then + if (compass or gps) and sextant then str_angles = "Yaw: "..yaw..", pitch: "..pitch elseif compass or gps then str_angles = "Yaw: "..yaw