mirror of
https://github.com/lightsoutgames/godot-tts
synced 2024-11-22 00:35:58 +00:00
Ensure that TTS always runs.
This commit is contained in:
parent
067b8b43b5
commit
b78848f583
1
TTS.gd
1
TTS.gd
|
@ -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"):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user