fix(godot4): update simple_dialog

This commit is contained in:
eneko committed 2025-03-29 20:28:45 +01:00
1 parent 82dd13b017
commit 07f2b3b76d
2 files changed
+2 -2

No files matched your search

@@ -92,7 +92,7 @@ func say(dialog_player: Node, global_id: String, text: String, type: String, key
# we want to remove the old one (if it exists) and then initialize and add the new dialog
# box type to the dialog player
if type != _preserved_type_player_type:
if _dialog_player.get_children().has(_type_player):
if is_instance_valid(_type_player) and _dialog_player.get_children().has(_type_player):
_dialog_player.remove_child(_type_player)
_init_type_player(type)
@@ -1,5 +1,5 @@
# A dialog GUI showing a dialog box and character portraits
extends Popup
extends Window
# Signal emitted when text has been said