aboutsummaryrefslogtreecommitdiff
path: root/client/audio
diff options
context:
space:
mode:
Diffstat (limited to 'client/audio')
-rw-r--r--client/audio/sound.gd2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/audio/sound.gd b/client/audio/sound.gd
index 90f1ef1e..ea39050a 100644
--- a/client/audio/sound.gd
+++ b/client/audio/sound.gd
@@ -29,7 +29,7 @@ func play_music(music : String): # If music == "stop", this stops all music
for stream in music_node.get_children():
stream.stop()
- if music_node.get_node(music) == null:
+ if music_node.get_node_or_null(music) == null:
return
else:
music_node.get_node(music).play()