diff --git a/TTS.gd b/TTS.gd index ed766e6..d3427d5 100644 --- a/TTS.gd +++ b/TTS.gd @@ -3,7 +3,7 @@ extends Node var TTS -var tts = null +var tts func _ready(): if OS.get_name() == "Server" or OS.has_feature("JavaScript"): @@ -79,4 +79,4 @@ func singular_or_plural(count, singular, plural): func _exit_tree(): if not tts or not TTS: return - tts.free() \ No newline at end of file + tts.free()