Add a null check for potentially missing custom traveler audio

This commit is contained in:
Joshua Thome 2025-02-01 16:04:17 -06:00
parent 5ee104b9c3
commit 23c7efd36a

View File

@ -16,7 +16,10 @@ namespace NewHorizons.Patches.EyeScenePatches
return true;
}
// Not starting the loop audio here; EyeMusicController will handle that
if (__instance._signal != null)
{
__instance._signal.GetOWAudioSource().SetLocalVolume(0f);
}
return false;
}
}