fixed blue bear sound bug

This commit is contained in:
Zeo
2024-05-13 22:04:40 -05:00
committed by minenice55
parent 4313e354f9
commit 4a4bf78971
3 changed files with 4 additions and 1 deletions

View File

@ -555,7 +555,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)

View File

@ -351,6 +351,7 @@ namespace HeavenStudio.Util
}
oneShotAudioSource.PlayOneShot(clip, volume);
// Debug.Log("Played Sound");
return null;
}
}