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:
dongresource 2020-12-08 01:53:21 +01:00
parent a48fb3a8e8
commit 811c9d4d5c
2 changed files with 2 additions and 1 deletions

View File

@ -918,6 +918,7 @@ void PlayerManager::exitDuplicate(int accountId) {
sock->kill();
CNShardServer::_killConnection(sock);
break;
}
}
}

2
tdata

@ -1 +1 @@
Subproject commit b87422bf98529d6dff818d1a284b5e7230a34bc6
Subproject commit e9e03fd0f0ddc09a29db03cc68a5e5276712f2a7