From ea78e1887091876d1c8c275293c0d3864898a8af Mon Sep 17 00:00:00 2001 From: cliveG <56766746+CliveGlitch@users.noreply.github.com> Date: Tue, 7 Oct 2025 23:32:17 -0600 Subject: [PATCH] fix: When calling signal text_started while changing the portrait, the info Dictionary will return the outdated portrait info instead of the latest --- addons/dialogic/Modules/Text/event_text.gd | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/addons/dialogic/Modules/Text/event_text.gd b/addons/dialogic/Modules/Text/event_text.gd index 7e29d4aa8..75c97260a 100644 --- a/addons/dialogic/Modules/Text/event_text.gd +++ b/addons/dialogic/Modules/Text/event_text.gd @@ -68,13 +68,13 @@ func _execute() -> void: if dialogic.has_subsystem("Portraits"): if character: - dialogic.Portraits.change_speaker(character, portrait) + await dialogic.Portraits.change_speaker(character, portrait) if portrait and dialogic.Portraits.is_character_joined(character): - dialogic.Portraits.change_character_portrait(character, portrait) + await dialogic.Portraits.change_character_portrait(character, portrait) else: - dialogic.Portraits.change_speaker(null) + await dialogic.Portraits.change_speaker(null) ## Change and Type Sound Mood if character: