forked from rosebudai/OpenRCT2-Web
Fix #11085: Handle player list before game actions during map load
This commit is contained in:
1 parent
1702c90c8e
commit
c16bdb5c69
1 file changed
+5
@@ -2723,6 +2723,11 @@ void NetworkBase::Client_Handle_MAP([[maybe_unused]] NetworkConnection& connecti
|
||||
|
||||
// Fix invalid vehicle sprite sizes, thus preventing visual corruption of sprites
|
||||
fix_invalid_vehicle_sprite_sizes();
|
||||
|
||||
// NOTE: Game actions are normally processed before processing the player list.
|
||||
// Given that during map load game actions are buffered we have to process the
|
||||
// player list first to have valid players for the queued game actions.
|
||||
ProcessPlayerList();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user