mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2024-11-22 21:40:05 +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:
parent
a48fb3a8e8
commit
811c9d4d5c
@ -918,6 +918,7 @@ void PlayerManager::exitDuplicate(int accountId) {
|
|||||||
|
|
||||||
sock->kill();
|
sock->kill();
|
||||||
CNShardServer::_killConnection(sock);
|
CNShardServer::_killConnection(sock);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
2
tdata
2
tdata
@ -1 +1 @@
|
|||||||
Subproject commit b87422bf98529d6dff818d1a284b5e7230a34bc6
|
Subproject commit e9e03fd0f0ddc09a29db03cc68a5e5276712f2a7
|
Loading…
Reference in New Issue
Block a user