aboutsummaryrefslogtreecommitdiff
path: root/game/src/Game/Theme/StyleBoxWithSound.gd
diff options
context:
space:
mode:
Diffstat (limited to 'game/src/Game/Theme/StyleBoxWithSound.gd')
-rw-r--r--game/src/Game/Theme/StyleBoxWithSound.gd2
1 files changed, 1 insertions, 1 deletions
diff --git a/game/src/Game/Theme/StyleBoxWithSound.gd b/game/src/Game/Theme/StyleBoxWithSound.gd
index 8c29b34..75a181a 100644
--- a/game/src/Game/Theme/StyleBoxWithSound.gd
+++ b/game/src/Game/Theme/StyleBoxWithSound.gd
@@ -29,6 +29,6 @@ func _draw(to_canvas_item : RID, rect : Rect2) -> void:
# Is there any other reason aside from release sounds (might be useful for toggles?)
# This should be fast enough to not cause draw issues
if sound != null:
- SoundManager.play_effect_stream(sound)
+ SoundManager.play_effect_compat("click",sound)
if style_box != null:
style_box.draw(to_canvas_item, rect)