From 6c4630004d6f061972ddf40b2a1be05ce7c2d43f Mon Sep 17 00:00:00 2001 From: Lexi Date: Wed, 8 Nov 2023 09:53:00 -0500 Subject: [PATCH] Still register the resource locator if invalid --- src/PatchManager.Core/CoreModule.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/PatchManager.Core/CoreModule.cs b/src/PatchManager.Core/CoreModule.cs index dbb808a..8f45474 100644 --- a/src/PatchManager.Core/CoreModule.cs +++ b/src/PatchManager.Core/CoreModule.cs @@ -80,6 +80,10 @@ public override void Preload() // SpaceWarp.API.Loading.Loading.AddGeneralLoadingAction( // () => new GenericFlowAction("Patch Manager: Rebuilding Cache", PatchingManager.RebuildAllCache)); } + else + { + SpaceWarp.API.Loading.Loading.GeneralLoadingActions.Insert(0, () => new GenericFlowAction("Patch Manager: Registering Resource Locator", RegisterResourceLocator)); + } } /// /// Registers the provider and locator for cached assets.