From 6711dfc7a2aa43f3f1d3fdfbe418a4b2599a1f86 Mon Sep 17 00:00:00 2001 From: lowercasedonkey <lowercasedonkey@gmail.com> Date: Tue, 29 Jun 2021 17:48:16 -0400 Subject: [PATCH] fix results pinned to wrong node --- src/events/RE/rePokerNight.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/events/RE/rePokerNight.js b/src/events/RE/rePokerNight.js index eb422283990..84a317f7576 100644 --- a/src/events/RE/rePokerNight.js +++ b/src/events/RE/rePokerNight.js @@ -55,7 +55,7 @@ App.Events.REPokerNight = class REPokerNight extends App.Events.BaseEvent { const choices = []; choices.push(new App.Events.Result(`Play it safe`, safe)); choices.push(new App.Events.Result(`Up the ante`, ante)); - App.Events.addResponses(node, choices); + App.Events.addResponses(frag, choices); return frag; function safe() { @@ -116,7 +116,7 @@ App.Events.REPokerNight = class REPokerNight extends App.Events.BaseEvent { const choices = []; choices.push(new App.Events.Result(`A year of servitude`, serve)); choices.push(new App.Events.Result(`Dock ${his} wages`, wages)); - App.Events.addResponses(node, choices); + App.Events.addResponses(frag, choices); return frag; function serve() { -- GitLab