Fix vision torch (#268)

Fixes #254
This commit is contained in:
Noah 2022-08-15 15:59:35 -04:00 committed by GitHub
commit c092880cbe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View File

@ -14,6 +14,6 @@
"Based off Marshmallow made by#Mister_Nebula", "Based off Marshmallow made by#Mister_Nebula",
"With help from#AmazingAlek\n#Raicuparta\n#and the Outer Wilds discord server", "With help from#AmazingAlek\n#Raicuparta\n#and the Outer Wilds discord server",
" ", " ",
"This work is unofficial Fan Content" "This work is unofficial Fan Content and is not affiliated with Mobius Digital"
] ]
} }

View File

@ -71,6 +71,10 @@ namespace NewHorizons.Patches
base_DropItem(__instance, position, normal, parent, sector, customDropTarget); base_DropItem(__instance, position, normal, parent, sector, customDropTarget);
} }
if (__instance._wasProjecting) __instance._mindProjectorTrigger.SetProjectorActive(false);
__instance.gameObject.GetComponent<Collider>().enabled = true;
return true; return true;
} }
} }