mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2025-10-04 05:30:06 +00:00
Stop iterating in exitDuplicate() after having removed a player
This fixes a crash due to the invalidated iterator continuing to loop. It should be safe to assume there's only ever one duplicate/stale player. Also updated tdata.
This commit is contained in:
@@ -918,6 +918,7 @@ void PlayerManager::exitDuplicate(int accountId) {
|
||||
|
||||
sock->kill();
|
||||
CNShardServer::_killConnection(sock);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user