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
1 changed files with 4 additions and 0 deletions

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