From a29361958e07174e1ea9d4025e42589e0d4e6356 Mon Sep 17 00:00:00 2001 From: Tyfon <29051038+tyfon7@users.noreply.github.com> Date: Fri, 26 Jul 2024 01:26:45 -0700 Subject: [PATCH] Use correct inventoryController in ammobox unload --- Patches/UnloadAmmoPatches.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Patches/UnloadAmmoPatches.cs b/Patches/UnloadAmmoPatches.cs index f88a2e4..af2299b 100644 --- a/Patches/UnloadAmmoPatches.cs +++ b/Patches/UnloadAmmoPatches.cs @@ -201,7 +201,7 @@ public static class UnloadAmmoPatches if (operation.Succeeded) { - tempController.DestroyItem(ammoBox); + inventoryController.DestroyItem(ammoBox); } else {