mirror of https://github.com/OpenRCT2/OpenRCT2.git
Merge pull request #12615 from ZehMatt/fix-11085
Fix #11085: Handle player list before game actions during map load
This commit is contained in:
commit
5f68927e88
|
@ -32,6 +32,7 @@
|
|||
- Fix: [#10876] There can be multiple peep spawns on the same location.
|
||||
- Fix: [#11002] Rides list shows both red and green light activated.
|
||||
- Fix: [#11072] Land and water tools working out of bounds (original bug).
|
||||
- Fix: [#11085] Handle player list before game actions during map load.
|
||||
- Fix: [#11259] Custom JSON object breaks saves.
|
||||
- Fix: [#11290] Perform funds checking for all peeps entering a ride.
|
||||
- Fix: [#11315] Ride that has never opened is shown as favorite ride of many guests.
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue