1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-15 11:03:00 +01:00

Readd call to network_process_game_commands (#5662)

This commit is contained in:
Hielke Morsink
2017-06-19 22:16:19 +02:00
committed by Michał Janiszewski
parent def76edd55
commit d68bed10cd

View File

@@ -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--;