the-crypt/meta/Music.gd
2020-07-23 22:36:21 -05:00

11 lines
249 B
GDScript

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