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,6 +454,7 @@ func focused():
if label:
if label is Label:
label = label.text
if label and label != "":
TTS.speak(label, false)
if node is MenuButton:
menu_button_focused()