Fix some bugs with chat

This commit is contained in:
2026-06-12 09:16:19 -05:00
parent b364fae1c7
commit 5668250ea9
5 changed files with 74 additions and 53 deletions
+1 -4
View File
@@ -16,11 +16,8 @@ static func dialogueCallable(params:Dictionary) -> int:
UI.dialogueActive = true
var line:DialogueLine = await DialogueManager.get_next_dialogue_line(resource, title, extraStates)
while line != null:
var text:String = line.text
if line.character:
text = line.character + ": " + text
var target:Node3D = _getLineTarget(line.character, characterTargets)
var text:String = line.text
if line.responses.size() > 0:
# Show text then auto-pick the first allowed response.