Fix Item Score SFX

This commit is contained in:
mushgunAX 2023-02-03 23:19:12 +08:00
parent d71790022f
commit 136d86dce3
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ public class ScoringZone : Script
{
if (GameManager.Instance && info.GameObject.GetScript<Item>())
{
Audio.PlaySFXOnce2D("event:/Music/stingers/item_scored");
AudioHandler.audioClipHandlers["SFXItemScore"].Play();
GameManager.Instance.ItemScored();
GameManager.Instance.Score += info.GameObject.GetScript<Item>().Score * GameManager.Instance.currMultiplierCombo;
info.GameObject.SetActive(false);