summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authortpart <tpart120@proton.me>2024-08-16 15:04:30 +0200
committertpart <tpart120@proton.me>2024-08-16 15:04:56 +0200
commit8f7b0f1f936aab717f1d432ed329b9cdfd9ef6fb (patch)
tree32cdf25af067909908febdf268c475f11a84f862 /client
parent81ba02e8880765148724bfb68d24cfea175805a2 (diff)
downloadhurrycurry-8f7b0f1f936aab717f1d432ed329b9cdfd9ef6fb.tar
hurrycurry-8f7b0f1f936aab717f1d432ed329b9cdfd9ef6fb.tar.bz2
hurrycurry-8f7b0f1f936aab717f1d432ed329b9cdfd9ef6fb.tar.zst
Fix error message about music node
Diffstat (limited to 'client')
-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()