diff --git a/src/openrct2/game.c b/src/openrct2/game.c index bf4e8866cb..6df67285e5 100644 --- a/src/openrct2/game.c +++ b/src/openrct2/game.c @@ -388,6 +388,10 @@ void game_logic_update() } } + // 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_game_commands(); + gScreenAge++; if (gScreenAge == 0) gScreenAge--;