Add setting true/false audio background in war level

This commit is contained in:
VAILLANT Jeremy
2021-05-23 21:21:10 +02:00
parent d2c6aef9c5
commit c46cb1f41e
11 changed files with 189 additions and 91 deletions
-4
View File
@@ -15,7 +15,6 @@ onready var mscene = load("res://db/MScene.gd")
func _ready():
_load_translations()
_play_ambiant_sound()
_load_meshes()
func _process(_delta):
@@ -145,6 +144,3 @@ func _check_collider(space_state):
var node = result["collider"].get_parent()
if node != null:
_start_dissolve(node.name)
func _play_ambiant_sound():
$AmbiantSound.play()