From 519f38e3b248de328445f0548f7216e024acb384 Mon Sep 17 00:00:00 2001 From: Nick Date: Mon, 15 Aug 2022 12:17:32 -0400 Subject: [PATCH] Fix vision torch projecting on ground + having disabled collider --- NewHorizons/Patches/VisionTorchPatches.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/NewHorizons/Patches/VisionTorchPatches.cs b/NewHorizons/Patches/VisionTorchPatches.cs index fd4dd131..82c65832 100644 --- a/NewHorizons/Patches/VisionTorchPatches.cs +++ b/NewHorizons/Patches/VisionTorchPatches.cs @@ -71,6 +71,10 @@ namespace NewHorizons.Patches base_DropItem(__instance, position, normal, parent, sector, customDropTarget); } + if (__instance._wasProjecting) __instance._mindProjectorTrigger.SetProjectorActive(false); + + __instance.gameObject.GetComponent().enabled = true; + return true; } }