mirror of
https://github.com/TimeCrafters/timecrafters_configuration_tool_desktop.git
synced 2025-12-15 13:32:33 +00:00
Fixed game clock colon 'blinking' in the middle of the second
This commit is contained in:
@@ -61,8 +61,8 @@ module TAC
|
||||
|
||||
seconds = format("%02d", time_left.ceil % 60)
|
||||
|
||||
return "#{minutes}:#{seconds}" if time_left.round.even?
|
||||
return "#{minutes}<c=999999>:</c>#{seconds}" if time_left.round.odd?
|
||||
return "#{minutes}:#{seconds}" if time_left.ceil.even?
|
||||
return "#{minutes}<c=999999>:</c>#{seconds}" if time_left.ceil.odd?
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user