From d39fd278c97025f25375171ef5f172078ed78c22 Mon Sep 17 00:00:00 2001 From: GamerClassN7 Date: Sun, 31 Jan 2021 12:07:05 +0100 Subject: [PATCH] Fix --- Assets/Scripts/AudioManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/Scripts/AudioManager.cs b/Assets/Scripts/AudioManager.cs index da1c815..78a645d 100644 --- a/Assets/Scripts/AudioManager.cs +++ b/Assets/Scripts/AudioManager.cs @@ -10,7 +10,7 @@ public class AudioManager : MonoBehaviour // Start is called before the first frame update public void Awake() { - DontDestroyGameobjectOnLoad(gameObject); + DontDestroyOnLoad(gameObject); foreach (AudioSound c in clips) { c.source = gameObject.AddComponent();