From 4f4bfde7d589379190685960123e8a2fcd032c5d Mon Sep 17 00:00:00 2001 From: Zeo <67521686+ThatZeoGal@users.noreply.github.com> Date: Mon, 13 May 2024 22:04:40 -0500 Subject: [PATCH] fixed blue bear sound bug --- Assets/Scripts/Games/BlueBear/BlueBear.cs | 3 ++- Assets/Scripts/Util/SoundByte.cs | 1 + ...aging.UnitySourceGenerator.Editor.ProjectSettingsData.asset | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Assets/Scripts/Games/BlueBear/BlueBear.cs b/Assets/Scripts/Games/BlueBear/BlueBear.cs index 290cc05a8..0cdb1f9ae 100644 --- a/Assets/Scripts/Games/BlueBear/BlueBear.cs +++ b/Assets/Scripts/Games/BlueBear/BlueBear.cs @@ -556,7 +556,8 @@ namespace HeavenStudio.Games public static void TreatSound(double beat, bool isCake) { - SoundByte.PlayOneShot(isCake ? "games/blueBear/cake" : "games/blueBear/donut", beat); + // Debug.Log("Playing Treat Sound on beat " + beat); + SoundByte.PlayOneShotGame(isCake ? "blueBear/cake" : "blueBear/donut", beat, forcePlay: true); } public void SquashBag(bool isCake) diff --git a/Assets/Scripts/Util/SoundByte.cs b/Assets/Scripts/Util/SoundByte.cs index e59216f52..7a4a4a2f3 100644 --- a/Assets/Scripts/Util/SoundByte.cs +++ b/Assets/Scripts/Util/SoundByte.cs @@ -351,6 +351,7 @@ namespace HeavenStudio.Util } oneShotAudioSource.PlayOneShot(clip, volume); + // Debug.Log("Played Sound"); return null; } } diff --git a/ProjectSettings/SatorImaging.UnitySourceGenerator.Editor.ProjectSettingsData.asset b/ProjectSettings/SatorImaging.UnitySourceGenerator.Editor.ProjectSettingsData.asset index 0fb321ea7..61fa2bb50 100644 --- a/ProjectSettings/SatorImaging.UnitySourceGenerator.Editor.ProjectSettingsData.asset +++ b/ProjectSettings/SatorImaging.UnitySourceGenerator.Editor.ProjectSettingsData.asset @@ -402,5 +402,6 @@ MonoBehaviour: - Assets/Scripts/Games/LoveLab/LoveLabHeartMisc.cs - Assets/Scripts/Games/LaunchParty/LaunchPartyRocket.cs - Assets/Scripts/Util/BeatAction.cs + - Assets/Scripts/Games/FanClub/NtrIdolAri.cs PathsToSkipImportEvent: [] PathsToIgnoreOverwriteSettingOnAttribute: []