diff options
author | Hop311 <Hop3114@gmail.com> | 2024-10-20 23:09:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-20 23:09:35 +0200 |
commit | 12bc584c7f6c6d559e01757ee05b7c07028337c8 (patch) | |
tree | 78c5cf07c7218db9a91849115b75250b5ac6d009 /game/src/Game/Autoload/SoundManager.gd | |
parent | 4c6e41074381ad5b61d64a796c242806cc61a18c (diff) | |
parent | 45d56aed583fd0db2f6201f9179f3919d2528d89 (diff) |
Merge pull request #280 from OpenVicProject/minor-format-fixes
Minor formatting changes (mostly whitespace cleanup)
Diffstat (limited to 'game/src/Game/Autoload/SoundManager.gd')
-rw-r--r-- | game/src/Game/Autoload/SoundManager.gd | 3 |
1 files changed, 1 insertions, 2 deletions
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) - |