mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-10 15:00:25 +00:00
[Zoning] Fix zone race condition (#2479)
* Testing * Separate auto shutdown fix * Revert for PR * Invalidate lock in places where zoning is cancelled
This commit is contained in:
@@ -365,6 +365,7 @@ void WorldServer::HandleMessage(uint16 opcode, const EQ::Net::Packet &p)
|
||||
zc2->success = ZONE_ERROR_NOTREADY;
|
||||
entity->CastToMob()->SetZone(ztz->current_zone_id, ztz->current_instance_id);
|
||||
entity->CastToClient()->SetZoning(false);
|
||||
entity->CastToClient()->SetLockSavePosition(false);
|
||||
}
|
||||
else {
|
||||
entity->CastToClient()->UpdateWho(1);
|
||||
|
||||
Reference in New Issue
Block a user