fix(Core/Players): Update the player's zone and area only after update the player's position server-side (#9419)

This commit is contained in:
schell244
2021-12-10 01:58:43 +01:00
committed by GitHub
parent 85d2c39a48
commit 39355fa1ee
4 changed files with 17 additions and 4 deletions

View File

@@ -190,6 +190,8 @@ Player::Player(WorldSession* session): Unit(true), m_mover(this)
m_areaUpdateId = 0;
m_team = TEAM_NEUTRAL;
m_needZoneUpdate = false;
m_nextSave = SavingSystemMgr::IncreaseSavingMaxValue(1);
m_additionalSaveTimer = 0;
m_additionalSaveMask = 0;