From c627aa36a9f2d15a66ae1c897f7e76d1aed6d9e8 Mon Sep 17 00:00:00 2001 From: Kyle Perik Date: Fri, 14 Apr 2023 16:27:44 -0500 Subject: [PATCH] Fix bug with multiple results processed in single frame --- src/game.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game.js b/src/game.js index 364e38c..27df6d3 100644 --- a/src/game.js +++ b/src/game.js @@ -326,7 +326,7 @@ export function evaluateNewPieces (newKey, gameData, gs) { func(args); } else { const result = interpret(func, { value, data: box.data }); - outputEvents = result.output; + outputEvents = outputEvents.concat(result.output); } if (box.failed) { box.failed = false; -- 2.45.2