Skip to content

Commit

Permalink
respondToAccept may be empty, if the response is generated by an action
Browse files Browse the repository at this point in the history
  • Loading branch information
nhnb committed Oct 18, 2023
1 parent 60bf553 commit f936079
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ void build(SpeakerNPC npc, String questSlot, ChatCondition questCompletedConditi
actions.add(new IncrementQuestAction(questSlot, 2, 1));
actions.addAll(rewardWith);

if (respondToAccept != null) {
if (respondToAccept != null || respondToReject != null) {
buildWithConfirmation(npc, mayCompleteCondition, actions);
} else {
buildWithoutConfirmation(npc, mayCompleteCondition, actions);
Expand Down

0 comments on commit f936079

Please sign in to comment.