Ensure that TTS always runs.

This commit is contained in:
Nolan Darilek 2020-07-06 15:14:20 -05:00
parent 067b8b43b5
commit b78848f583

1
TTS.gd
View File

@ -9,6 +9,7 @@ signal done
func _ready(): func _ready():
pause_mode = Node.PAUSE_MODE_PROCESS
if OS.get_name() == "Server" or OS.has_feature("JavaScript"): if OS.get_name() == "Server" or OS.has_feature("JavaScript"):
return return
elif Engine.has_singleton("AndroidTTS"): elif Engine.has_singleton("AndroidTTS"):