the-crypt/meta/Music.gd

11 lines
249 B
GDScript3
Raw Normal View History

2020-07-23 22:36:21 -05:00
extends Node
onready var MainMusic: AudioStreamPlayer = $MainMusic
onready var Ambience: AudioStreamPlayer = $Ambience
func _process(delta):
if not MainMusic.playing:
MainMusic.playing = true
if not Ambience.playing:
Ambience.playing = true