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