fix: Fixes world load not deleting bad objects (#1212)
This commit is contained in:
parent
5151ff66b5
commit
ebbffc3755
1 changed files with 3 additions and 2 deletions
|
|
@ -277,6 +277,9 @@ public static class World
|
|||
Persistence.Load(SavePath);
|
||||
EventSink.InvokeWorldLoad();
|
||||
|
||||
// Set the world to running before we process our queues
|
||||
WorldState = WorldState.Running;
|
||||
|
||||
ProcessSafetyQueues();
|
||||
|
||||
foreach (var item in Items.Values)
|
||||
|
|
@ -304,8 +307,6 @@ public static class World
|
|||
Mobiles.Count,
|
||||
watch.Elapsed.TotalSeconds
|
||||
);
|
||||
|
||||
WorldState = WorldState.Running;
|
||||
}
|
||||
|
||||
private static void ProcessSafetyQueues()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue