Core/Maps: Fixes player not being removed from map/server when they close the client without using logout/exitgame
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user