fix bug where game simulation continues while dialog is shown

This commit is contained in:
2026-06-13 14:31:03 +02:00
parent 49f7129bd5
commit ed17664ef1
3 changed files with 11 additions and 0 deletions

View File

@@ -1432,6 +1432,11 @@ double GameWorldView::gameSpeed() const
return m_gameSpeedMultiplier;
}
void GameWorldView::resetFrameTimer()
{
m_frameTimer.restart();
}
void GameWorldView::setGameSpeed(double multiplier)
{
m_gameSpeedMultiplier = multiplier;