Skip to content

Commit

Permalink
fix: always initalize PrefabManager when ZoneManager is used
Browse files Browse the repository at this point in the history
  • Loading branch information
MSchmoecker committed Feb 17, 2024
1 parent 0182c06 commit 96e23ea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## Version 2.17.0
* Added PrefabManager.Cache.Clear to the API
* Added a PrefabManager cache clear before ZoneSystem.SetupLocations to fix mocked assets that are late available
* Changed the ZoneManager to always initialize the PrefabManager to prevent timing issues
* Fixed warnings about missing textures on dedicated servers
* Fixed category text not being resized automatically
* Fixed category tokens omitting invalid characters like spaces from the original name, they are now replaced with an underscore
Expand Down
1 change: 1 addition & 0 deletions JotunnLib/Managers/ZoneManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ void IManager.Init()
LocationContainer.SetActive(false);

Main.Harmony.PatchAll(typeof(Patches));
PrefabManager.Instance.Activate();
}

private static class Patches
Expand Down

0 comments on commit 96e23ea

Please sign in to comment.