diff options
| author | tpart <tpart120@proton.me> | 2024-08-16 15:04:30 +0200 |
|---|---|---|
| committer | tpart <tpart120@proton.me> | 2024-08-16 15:04:56 +0200 |
| commit | 8f7b0f1f936aab717f1d432ed329b9cdfd9ef6fb (patch) | |
| tree | 32cdf25af067909908febdf268c475f11a84f862 /client/audio/sound.gd | |
| parent | 81ba02e8880765148724bfb68d24cfea175805a2 (diff) | |
| download | hurrycurry-8f7b0f1f936aab717f1d432ed329b9cdfd9ef6fb.tar hurrycurry-8f7b0f1f936aab717f1d432ed329b9cdfd9ef6fb.tar.bz2 hurrycurry-8f7b0f1f936aab717f1d432ed329b9cdfd9ef6fb.tar.zst | |
Fix error message about music node
Diffstat (limited to 'client/audio/sound.gd')
| -rw-r--r-- | client/audio/sound.gd | 2 |
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() |