From 45d56aed583fd0db2f6201f9179f3919d2528d89 Mon Sep 17 00:00:00 2001 From: hop311 Date: Sun, 20 Oct 2024 22:02:04 +0100 Subject: Minor formatting changes (mostly whitespace cleanup) --- game/src/Game/Autoload/SoundManager.gd | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'game/src/Game/Autoload') diff --git a/game/src/Game/Autoload/SoundManager.gd b/game/src/Game/Autoload/SoundManager.gd index 01562f8..520afb1 100644 --- a/game/src/Game/Autoload/SoundManager.gd +++ b/game/src/Game/Autoload/SoundManager.gd @@ -41,7 +41,7 @@ func play_effect_stream(sound : AudioStream, volume : float = 1.0) -> void: func play_effect(sound : String) -> void: play(sound, "SFX") - + func play_effect_compat(sfx : String, fallback : AudioStream=null) -> void: var sound:AudioStreamWAV = SoundSingleton.get_sound_stream(sfx) var volume:float = SoundSingleton.get_sound_base_volume(sfx) @@ -53,4 +53,3 @@ func play_effect_compat(sfx : String, fallback : AudioStream=null) -> void: play_effect_stream(fallback) else: push_warning("Failed to find sound %s" % sfx) - -- cgit v1.2.3-56-ga3b1