Skip to content

Commit

Permalink
Still register the resource locator if invalid
Browse files Browse the repository at this point in the history
  • Loading branch information
cheese3660 committed Nov 8, 2023
1 parent 704ad06 commit 6c46300
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/PatchManager.Core/CoreModule.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}
}
/// <summary>
/// Registers the provider and locator for cached assets.
Expand Down

0 comments on commit 6c46300

Please sign in to comment.