mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-23 23:04:36 +01:00
Use correct update order
This commit is contained in:
@@ -301,11 +301,9 @@ void GameState::UpdateLogic()
|
||||
gLastAutoSaveUpdate = Platform::GetTicks();
|
||||
}
|
||||
|
||||
// Separated out processing commands in network_update which could call scenario_rand where gInUpdateCode is false.
|
||||
// All commands that are received are first queued and then executed where gInUpdateCode is set to true.
|
||||
network_process_pending();
|
||||
GameActions::ProcessQueue();
|
||||
|
||||
network_process_pending();
|
||||
network_flush();
|
||||
|
||||
gCurrentTicks++;
|
||||
|
||||
Reference in New Issue
Block a user