mirror of
https://github.com/lov3b/Pong.git
synced 2025-01-18 12:40:12 +01:00
Count down starts right away
This commit is contained in:
parent
836ca94e1c
commit
83eed8fd74
@ -36,7 +36,7 @@ void OptionScreen::update() {
|
||||
|
||||
void OptionScreen::startCountDown() {
|
||||
auto epochMs = getCurrentEpochTimeMillis();
|
||||
nextMsEpoch = epochMs + 1000;
|
||||
nextMsEpoch = epochMs;
|
||||
hasStartedCounting_ = true;
|
||||
stepsDone = 0;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user