Don't speak empty labels since this seems to cause a silent crash.

This commit is contained in:
Nolan Darilek 2019-12-29 19:52:33 -06:00
parent 4ff6b51114
commit 833a34b602

View File

@ -454,7 +454,8 @@ func focused():
if label:
if label is Label:
label = label.text
TTS.speak(label, false)
if label and label != "":
TTS.speak(label, false)
if node is MenuButton:
menu_button_focused()
elif node is AcceptDialog: