Fixed game clock colon 'blinking' in the middle of the second

This commit is contained in:
2023-11-18 15:22:43 -06:00
parent 9940837065
commit f98edc1744

View File

@@ -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