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