diff options
Diffstat (limited to 'Assets/Scripts/Controllers')
-rw-r--r-- | Assets/Scripts/Controllers/GameController.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Assets/Scripts/Controllers/GameController.cs b/Assets/Scripts/Controllers/GameController.cs index 7801e17..a3783bd 100644 --- a/Assets/Scripts/Controllers/GameController.cs +++ b/Assets/Scripts/Controllers/GameController.cs @@ -61,7 +61,7 @@ namespace Controllers enemyScoreText.text = $"{enemy.score}"; var remaining = TimeSpan.FromSeconds(timeLimit - (Time.time - startTime)); - timerText.text = string.Format("{0:00}:{1:00}", remaining.Minutes, remaining.Seconds); + timerText.text = $"{remaining.Minutes:00}:{remaining.Seconds:00}"; } public struct Player |