Fix exports

This commit is contained in:
2020-05-16 22:04:13 -04:00
parent 799f61f8f9
commit 80ae6f8785
2 changed files with 2 additions and 3 deletions

View File

@ -47,14 +47,13 @@ func play_audio():
spoken_text = spoken_text + letter
emit_signal("updated_text")
if letter in " ,-'\"\n":
speaking_timer.start(0.05)
return
elif letter in ".!":
speaking_timer.start(0.15)
return
elif File.new().file_exists(audio_file):
elif load(audio_file):
track = load(audio_file)
audio_player.stream = track
audio_player.play()