From 0b86934ffd930cb7936b3b3b827298921c6c3eb3 Mon Sep 17 00:00:00 2001 From: Lexi Date: Fri, 1 Sep 2023 20:54:20 -0400 Subject: [PATCH] Undo something --- src/PatchManager.Core/CoreModule.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/PatchManager.Core/CoreModule.cs b/src/PatchManager.Core/CoreModule.cs index 8c5916e..7801ec8 100644 --- a/src/PatchManager.Core/CoreModule.cs +++ b/src/PatchManager.Core/CoreModule.cs @@ -75,8 +75,6 @@ public override void Load() Logging.LogInfo("Registering resource locator"); Addressables.ResourceManager.ResourceProviders.Add(new ArchiveResourceProvider()); - var locator = new ArchiveResourceLocator(); - Locators.Register(locator); - GameManager.Instance.Assets._registeredResourceLocators.Add(locator); + Locators.Register(new ArchiveResourceLocator()); } } \ No newline at end of file