Skip to content

Commit ba9e0e5

Browse files
author
Carles Homs
committed
Fixed bug where last choice in dialogue would not show
1 parent 205502e commit ba9e0e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/script/nodes/dialogue/dialogue_message.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ class OScriptNodeDialogueMessageInstance : public OScriptNodeInstance
9393
Dictionary options;
9494
for (int i = 0; i < _choices; i++)
9595
{
96-
Dictionary choice = p_context.get_input(3 + i);
96+
Dictionary choice = p_context.get_input(4 + i);
9797
if (choice.has("visible") && choice["visible"])
9898
options[i] = choice["text"];
9999
}

0 commit comments

Comments
 (0)