Fix some bugs with chat
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user