Skip to content

Commit 986c730

Browse files
authored
Add Choices to last_question_info. (#2485)
This was missing, and the History Layer never displayed any Choices.
1 parent ee559c4 commit 986c730

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

addons/dialogic/Modules/Choice/subsystem_choices.gd

+1
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ func get_current_question_info() -> Dictionary:
128128
choice_info['visited_before'] = dialogic.History.has_event_been_visited(choice_index)
129129

130130
question_info['choices'].append(choice_info)
131+
last_question_info['choices'].append(choice_info['text'])
131132

132133
return question_info
133134

0 commit comments

Comments
 (0)