Fix countdown sounds playing every minute, rather than only on the last minute

This commit is contained in:
Dean Herbert 2022-05-02 22:46:14 +09:00
parent b9642a13c8
commit c4c62ff4e7
1 changed files with 1 additions and 1 deletions

View File

@ -106,7 +106,7 @@ void onCountdownTick()
{ {
updateButtonText(); updateButtonText();
int secondsRemaining = countdownTimeRemaining.Seconds; int secondsRemaining = (int)countdownTimeRemaining.TotalSeconds;
playTickSound(secondsRemaining); playTickSound(secondsRemaining);