Fixed +playerclass not being respected when new players join a save

This commit is contained in:
Boondorl 2025-07-30 19:35:24 -04:00 committed by Rachael Alexanderson
commit d6ead264ed
2 changed files with 21 additions and 2 deletions

View file

@ -1867,6 +1867,9 @@ void Net_ReadGameInfo(TArrayView<uint8_t>& stream)
Args->AppendArg(load);
}
}
// Reset this immediately so any further RNG calls the engine has to make will be synced.
FRandom::StaticClearRandom();
}
// Connects players to each other if needed.