mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Make sure disabling volume works
This commit is contained in:
parent
80e5f0c15e
commit
9080b45c14
@ -9,7 +9,7 @@ namespace NewHorizons.Components.Volumes
|
||||
|
||||
public override void OnTriggerVolumeEntry(GameObject hitObj)
|
||||
{
|
||||
if (hitObj.CompareTag("PlayerDetector"))
|
||||
if (hitObj.CompareTag("PlayerDetector") && enabled)
|
||||
{
|
||||
switch(creditsType)
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user