Core/Maps: Fixes player not being removed from map/server when they close the client without using logout/exitgame

This commit is contained in:
hondacrx
2021-02-11 10:32:09 -05:00
parent f254e9417c
commit 0fd5044a71
3 changed files with 51 additions and 28 deletions
+3
View File
@@ -86,6 +86,9 @@ namespace Game
public void LogoutPlayer(bool save)
{
if (m_playerLogout)
return;
// finish pending transfers before starting the logout
while (_player && _player.IsBeingTeleportedFar())
HandleMoveWorldportAck();