Fix #21290: Sound keeps playing when paused from fast-forward mode (#21301)

* Stop additional calls to UpdateLogic after pausing

* Update changelog.txt
This commit is contained in:
Severin Paul Höfer 2024-01-29 15:35:28 +01:00 committed by GitHub
parent 704333344e
commit 89094cad0d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 0 deletions

View File

@ -21,6 +21,7 @@
- Fix: [#21178] Inca Lost Citys scenario description incorrectly states there are height restrictions.
- Fix: [#21179] Additional missing land/construction rights tiles in Inca Lost City & Renovation.
- Fix: [#21198] [Plugin] Setting brake or booster speeds on a tile element doesnt work.
- Fix: [#21290] Sound keeps playing when paused from fast-forward mode.
- Fix: [#21291] Hungry guests heading to any flat ride do not count for warning threshold (original bug).
0.4.7 (2023-12-31)

View File

@ -218,6 +218,10 @@ void GameState::Tick()
break;
}
}
// Don't call UpdateLogic again if the game was just paused.
isPaused |= GameIsPaused();
if (isPaused)
break;
}
NetworkFlush();