Skip to content

Commit

Permalink
fixe
Browse files Browse the repository at this point in the history
  • Loading branch information
moonheart08 committed Dec 10, 2022
1 parent 6059203 commit a746646
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions OpenDreamRuntime/DreamManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ partial class DreamManager : IDreamManager {

//TODO This arg is awful and temporary until RT supports cvar overrides in unit tests
public void PreInitialize(string jsonPath) {

ObjectTree = new(); // cheesy, sorts out a load order conflict.
InitializeConnectionManager();
_dreamResourceManager.Initialize();

Expand All @@ -58,7 +58,6 @@ public void PreInitialize(string jsonPath) {
}

public void StartWorld() {
ObjectTree = new(); // cheesy, sorts out a load order conflict.
// It is now OK to call user code, like /New procs.
Initialized = true;
InitializedTick = _gameTiming.CurTick;
Expand Down

0 comments on commit a746646

Please sign in to comment.