mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-25 02:27:21 +00:00
Let world shutdown dz early for empty expeditions
Since world now tracks empty expeditions it can determine when to shutdown dynamic zone instances when the rule is enabled rather than letting zones do it.
This commit is contained in:
1 parent
148af3edfc
commit
9164073d14
11 files changed
+93
-67
No files matched your search
+1
-1
@@ -1495,7 +1495,7 @@ bool Zone::Process() {
|
||||
Expedition* expedition = Expedition::FindExpeditionByInstanceID(GetInstanceID());
|
||||
if (expedition)
|
||||
{
|
||||
expedition->RemoveAllMembers(false, false); // entity list will teleport clients out immediately
|
||||
expedition->RemoveAllMembers(false); // entity list will teleport clients out immediately
|
||||
}
|
||||
// todo: move corpses to non-instanced version of dz at same coords (if no graveyard)
|
||||
entity_list.GateAllClientsToSafeReturn();
|
||||
|
||||
Reference in new issue
Block a user