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();