mirror of
https://github.com/lightsoutgames/godot-tts
synced 2024-11-22 14:25:56 +00:00
Remove explicit null.
This commit is contained in:
parent
a7b8ecb775
commit
f41c34c12f
4
TTS.gd
4
TTS.gd
|
@ -3,7 +3,7 @@ extends Node
|
||||||
|
|
||||||
var TTS
|
var TTS
|
||||||
|
|
||||||
var tts = null
|
var tts
|
||||||
|
|
||||||
func _ready():
|
func _ready():
|
||||||
if OS.get_name() == "Server" or OS.has_feature("JavaScript"):
|
if OS.get_name() == "Server" or OS.has_feature("JavaScript"):
|
||||||
|
@ -79,4 +79,4 @@ func singular_or_plural(count, singular, plural):
|
||||||
func _exit_tree():
|
func _exit_tree():
|
||||||
if not tts or not TTS:
|
if not tts or not TTS:
|
||||||
return
|
return
|
||||||
tts.free()
|
tts.free()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user