diff --git a/NewHorizons/Main.cs b/NewHorizons/Main.cs index f9600c0a..facd1493 100644 --- a/NewHorizons/Main.cs +++ b/NewHorizons/Main.cs @@ -283,6 +283,10 @@ namespace NewHorizons SearchUtilities.ClearCache(); ProxyHandler.ClearCache(); + // Enum cache, if not cleared every time, breaks signals + // I don't know why, but it's probably the least expensive cache there is, so let's just clear it every time + EnumUtilities.ClearCache(); + // Caches of other assets only have to be cleared if we changed star systems if (CurrentStarSystem != _previousStarSystem) { @@ -290,7 +294,6 @@ namespace NewHorizons ImageUtilities.ClearCache(); AudioUtilities.ClearCache(); AssetBundleUtilities.ClearCache(); - EnumUtilities.ClearCache(); } IsSystemReady = false; diff --git a/NewHorizons/manifest.json b/NewHorizons/manifest.json index 42acbb85..0c3366f1 100644 --- a/NewHorizons/manifest.json +++ b/NewHorizons/manifest.json @@ -4,7 +4,7 @@ "author": "xen, Bwc9876, clay, MegaPiggy, John, Trifid, Hawkbar, Book", "name": "New Horizons", "uniqueName": "xen.NewHorizons", - "version": "1.16.2", + "version": "1.16.3", "owmlVersion": "2.9.3", "dependencies": [ "JohnCorby.VanillaFix", "_nebula.MenuFramework", "xen.CommonCameraUtility", "dgarro.CustomShipLogModes" ], "conflicts": [ "Raicuparta.QuantumSpaceBuddies", "PacificEngine.OW_CommonResources" ],