diff --git a/GoldWars/GoldWars/Components/TimerComponent.swift b/GoldWars/GoldWars/Components/TimerComponent.swift index 52c51b6..c91785c 100644 --- a/GoldWars/GoldWars/Components/TimerComponent.swift +++ b/GoldWars/GoldWars/Components/TimerComponent.swift @@ -31,7 +31,7 @@ class TimerComponent: GKComponent { func timeLeft() -> Int { let remainingSeconds = Int(endTime.timeIntervalSince(Date())) - if(remainingSeconds < 0 ){ + if(remainingSeconds < 0 && DataService.sharedInstance.didReceiveAllData()){ startWithDuration(duration: duration) } return remainingSeconds