Fix timer issue with PSC (#509)

My last PR didn't seem to account for the race timer so now it does
This commit is contained in:
Sunk 2023-11-07 01:56:05 -05:00 committed by Agent X
parent d3c14ce038
commit a33f8592f8

View file

@ -122,7 +122,7 @@ local function set_hud_star_positions(m, height, width)
-- Move HUD graphics away from the TIMER HUD -- Move HUD graphics away from the TIMER HUD
if timer_current_value ~= 0 then if timer_current_value ~= 0 then
timer_offset_X = 60 timer_offset_X = 60
timer_offset_Y = 17 timer_offset_Y = -17
end end
star_counter_offset_X = is_in_cutscenes[m.action] and 22 or 76 star_counter_offset_X = is_in_cutscenes[m.action] and 22 or 76
@ -173,7 +173,7 @@ local function set_hud_star_positions(m, height, width)
-- Move HUD graphics away from the TIMER HUD -- Move HUD graphics away from the TIMER HUD
if timer_current_value ~= 0 then if timer_current_value ~= 0 then
timer_offset_X = 0 timer_offset_X = 0
timer_offset_Y = -10 timer_offset_Y = 12
end end
star_counter_offset_X = 76 star_counter_offset_X = 76