Make sure disabling volume works

This commit is contained in:
Nick 2023-03-18 15:00:20 -04:00
parent 80e5f0c15e
commit 9080b45c14

View File

@ -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)
{