mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Fix vision torch projecting on ground + having disabled collider
This commit is contained in:
parent
1ab2e30da4
commit
519f38e3b2
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user