TO SQUASH: Fixed issue.

This commit is contained in:
2026-08-27 15:34:06 -04:00
parent 21b0fd7648
commit 04ccf01eb4
6 changed files with 117 additions and 14 deletions
+11 -1
View File
@@ -65,12 +65,22 @@ public class MusicManager : MonoBehaviour
{
if (needsReset)
{
if (audioSource.isPlaying)
{
audioSource.Stop();
}
audioSource.clip = null;
clipsQueue.Clear();
ResetQueue();
needsReset = false;
}
audioSource.UnPause();
if (audioSource.clip != null && !audioSource.isPlaying)
{
audioSource.UnPause();
}
isPaused = false;
}