correction d'un erreur avec change_title lorsquele node n'existe pas encore.
This commit is contained in:
parent
e212bf143b
commit
2a4d823c28
1 changed files with 7 additions and 6 deletions
|
@ -21,6 +21,7 @@ func on_window_size_changed():
|
|||
change_title()
|
||||
|
||||
func change_title():
|
||||
if has_node( WINDOW_TITLE_INPUT ):
|
||||
var title_node = get_node( WINDOW_TITLE_INPUT )
|
||||
var title = "Khanat"
|
||||
if title_node and not title_node.text.strip_edges() == "":
|
||||
|
|
Loading…
Reference in a new issue