mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Possibly fix signals breaking due to enum cache being cleared
This commit is contained in:
parent
3968545d24
commit
d424bffc2f
@ -283,6 +283,10 @@ namespace NewHorizons
|
|||||||
SearchUtilities.ClearCache();
|
SearchUtilities.ClearCache();
|
||||||
ProxyHandler.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
|
// Caches of other assets only have to be cleared if we changed star systems
|
||||||
if (CurrentStarSystem != _previousStarSystem)
|
if (CurrentStarSystem != _previousStarSystem)
|
||||||
{
|
{
|
||||||
@ -290,7 +294,6 @@ namespace NewHorizons
|
|||||||
ImageUtilities.ClearCache();
|
ImageUtilities.ClearCache();
|
||||||
AudioUtilities.ClearCache();
|
AudioUtilities.ClearCache();
|
||||||
AssetBundleUtilities.ClearCache();
|
AssetBundleUtilities.ClearCache();
|
||||||
EnumUtilities.ClearCache();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
IsSystemReady = false;
|
IsSystemReady = false;
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
"author": "xen, Bwc9876, clay, MegaPiggy, John, Trifid, Hawkbar, Book",
|
"author": "xen, Bwc9876, clay, MegaPiggy, John, Trifid, Hawkbar, Book",
|
||||||
"name": "New Horizons",
|
"name": "New Horizons",
|
||||||
"uniqueName": "xen.NewHorizons",
|
"uniqueName": "xen.NewHorizons",
|
||||||
"version": "1.16.2",
|
"version": "1.16.3",
|
||||||
"owmlVersion": "2.9.3",
|
"owmlVersion": "2.9.3",
|
||||||
"dependencies": [ "JohnCorby.VanillaFix", "_nebula.MenuFramework", "xen.CommonCameraUtility", "dgarro.CustomShipLogModes" ],
|
"dependencies": [ "JohnCorby.VanillaFix", "_nebula.MenuFramework", "xen.CommonCameraUtility", "dgarro.CustomShipLogModes" ],
|
||||||
"conflicts": [ "Raicuparta.QuantumSpaceBuddies", "PacificEngine.OW_CommonResources" ],
|
"conflicts": [ "Raicuparta.QuantumSpaceBuddies", "PacificEngine.OW_CommonResources" ],
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user