forked from teamnwah/openmw-tes3coop
Fix server crash caused by invalid player GUIDs, 2nd attempt
This commit is contained in:
parent
ffb7683a5f
commit
621faf368e
1 changed files with 1 additions and 1 deletions
|
@ -715,7 +715,7 @@ void Networking::NewPlayer(RakNet::RakNetGUID guid)
|
|||
if (pl->first == guid.g) continue;
|
||||
|
||||
// If an invalid key makes it into the Players map, ignore it
|
||||
else if (pl->first == RakNet::UNASSIGNED_NETWORK_ID) continue;
|
||||
else if (pl->first == -1) continue;
|
||||
|
||||
playerController->GetPacket(ID_GAME_BASE_INFO)->Send(pl->second, guid);
|
||||
playerController->GetPacket(ID_GAME_DYNAMICSTATS)->Send(pl->second, guid);
|
||||
|
|
Loading…
Reference in a new issue