mirror of
				https://github.com/lov3b/Pong.git
				synced 2025-11-04 07:10:16 +01:00 
			
		
		
		
	Count down starts right away
This commit is contained in:
		@@ -36,7 +36,7 @@ void OptionScreen::update() {
 | 
			
		||||
 | 
			
		||||
void OptionScreen::startCountDown() {
 | 
			
		||||
    auto epochMs = getCurrentEpochTimeMillis();
 | 
			
		||||
    nextMsEpoch = epochMs + 1000;
 | 
			
		||||
    nextMsEpoch = epochMs;
 | 
			
		||||
    hasStartedCounting_ = true;
 | 
			
		||||
    stepsDone = 0;
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user