Action changes

Action changes

Action changes

Action changes

Actions work

Delete error?

update addons

Test

Test

Fix exports
This commit is contained in:
2020-05-16 20:50:45 -04:00
parent 3dfff8793c
commit c39e44da3a
7 changed files with 13 additions and 55 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()