online multiplayer chess game (note server currently down)
Diffstat (limited to 'sounds/SoundFX.gd')
| -rw-r--r-- | sounds/SoundFX.gd | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sounds/SoundFX.gd b/sounds/SoundFX.gd index a0aace5..d86d61f 100644 --- a/sounds/SoundFX.gd +++ b/sounds/SoundFX.gd @@ -15,7 +15,7 @@ var sounds := { onready var sound_players := get_children() -func play(sound_string, pitch_scale = 1, volume_db = 0): +func play(sound_string, pitch_scale = 1, volume_db = 0) -> void: for soundPlayer in sound_players: if not soundPlayer.playing: soundPlayer.pitch_scale = pitch_scale |