mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 04:37:00 +00:00
[11016] Fixed crash at logout not in world guld member.
This commit is contained in:
parent
0c19c2c6a2
commit
805d62bef1
3 changed files with 3 additions and 2 deletions
|
|
@ -35,7 +35,7 @@ void MemberSlot::SetMemberStats(Player* player)
|
|||
Name = player->GetName();
|
||||
Level = player->getLevel();
|
||||
Class = player->getClass();
|
||||
ZoneId = player->GetZoneId();
|
||||
ZoneId = player->IsInWorld() ? player->GetZoneId() : player->GetCachedZoneId();
|
||||
}
|
||||
|
||||
void MemberSlot::UpdateLogoutTime()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue