diff --git a/zone/entity.cpp b/zone/entity.cpp index 92f2c6174..99d5d28c4 100644 --- a/zone/entity.cpp +++ b/zone/entity.cpp @@ -2506,7 +2506,11 @@ void EntityList::RemoveAllDoors() void EntityList::DespawnAllDoors() { auto outapp = new EQApplicationPacket(OP_RemoveAllDoors, 0); - this->QueueClients(0,outapp); + for (auto it = client_list.begin(); it != client_list.end(); ++it) { + if (it->second) { + it->second->QueuePacket(outapp); + } + } safe_delete(outapp); }