Fix broken kart animation for countdown timer in result screen
This commit is contained in:
parent
fe028b4534
commit
520f1c7d3a
@ -1,5 +1,5 @@
|
||||
# Modify this file to change the last-modified date when you add/remove a file.
|
||||
# This will then trigger a new cmake run automatically.
|
||||
# This will then trigger a new cmake run automatically.
|
||||
file(GLOB_RECURSE STK_HEADERS RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "src/*.hpp")
|
||||
file(GLOB_RECURSE STK_SOURCES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "src/*.cpp")
|
||||
file(GLOB_RECURSE STK_SHADERS RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "data/shaders/*")
|
||||
|
@ -450,7 +450,9 @@ void WorldStatus::updateTime(int ticks)
|
||||
{
|
||||
m_time_ticks = 0;
|
||||
m_time = 0.0f;
|
||||
m_count_up_ticks = 0;
|
||||
// For rescue animation playing (if any) in result screen
|
||||
if (!device->getTimer()->isStopped())
|
||||
m_count_up_ticks++;
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user