mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-29 01:35:06 +01:00
Fix causing asserts with DEBUG_DESYNC and loading new maps. (#5650)
Moved input handling out of game_logic_update back to game_update, should be executed per frame not tick. Placed gInUpdateCode at the proper locations.
This commit is contained in:
committed by
Michał Janiszewski
parent
7c4ee751cc
commit
10740106f2
@@ -388,7 +388,6 @@ uint8 Network::GetPlayerID()
|
||||
void Network::Update()
|
||||
{
|
||||
_closeLock = true;
|
||||
assert(gInUpdateCode == false);
|
||||
|
||||
switch (GetMode()) {
|
||||
case NETWORK_MODE_SERVER:
|
||||
|
||||
Reference in New Issue
Block a user