mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2025-11-16 15:00:09 +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();
|
sock->kill();
|
||||||
CNShardServer::_killConnection(sock);
|
CNShardServer::_killConnection(sock);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
2
tdata
2
tdata
Submodule tdata updated: b87422bf98...e9e03fd0f0
Reference in New Issue
Block a user