From a7bba9ceadb5b9779aeaaddfce9fbe34b566b35d Mon Sep 17 00:00:00 2001 From: GrahamKracker Date: Tue, 10 Dec 2024 08:43:00 -0500 Subject: [PATCH] oops forgot to uncomment --- BloonsTD6 Mod Helper/Patches/UI/TowerImageLoader_Load.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BloonsTD6 Mod Helper/Patches/UI/TowerImageLoader_Load.cs b/BloonsTD6 Mod Helper/Patches/UI/TowerImageLoader_Load.cs index 251edd010..d4c29e71f 100644 --- a/BloonsTD6 Mod Helper/Patches/UI/TowerImageLoader_Load.cs +++ b/BloonsTD6 Mod Helper/Patches/UI/TowerImageLoader_Load.cs @@ -5,7 +5,7 @@ namespace BTD_Mod_Helper.Patches.UI; [HarmonyPatch(typeof(TowerImageLoader), nameof(TowerImageLoader.Load))] internal static class TowerImageLoader_Load { - /*[HarmonyPostfix] + [HarmonyPostfix] private static void Postfix(TowerImageLoader __instance, string towerID, bool useRoundBg) { if (ModTowerHelper.ModTowerCache.TryGetValue(towerID, out var modTower) && @@ -15,5 +15,5 @@ modTower.ModTowerSet is var modTowerSet && ResourceLoader.LoadSpriteFromSpriteReferenceAsync( useRoundBg ? modTowerSet.SeatReference : modTowerSet.ContainerReference, __instance.bg); } - }*/ + } } \ No newline at end of file