mirror of https://github.com/OpenRCT2/OpenRCT2.git
Use correct update order
This commit is contained in:
parent
8c9008825d
commit
3bdc3935dc
|
@ -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++;
|
||||
|
|
Loading…
Reference in New Issue