Corrections timer

This commit is contained in:
MarcEricMartel
2023-12-11 07:31:20 -05:00
parent 7c1f70646a
commit 7498076d7a
3 changed files with 5 additions and 4 deletions

View File

@@ -1551,8 +1551,9 @@ void Engine::Render(float elapsedTime) {
m_countdown = m_time + COUNTDOWN;
m_resetcountdown = false;
}
if (!m_stopcountdown)
m_countdown -= (int)m_time;
if (!m_stopcountdown) {
m_countdown = COUNTDOWN - (int)m_time;
}
}
DrawHud(elapsedTime, bloc);