From 20ae53458b331722f1f5ff7998ddddc2403aad60 Mon Sep 17 00:00:00 2001 From: thepaperpilot Date: Mon, 8 May 2023 22:39:14 -0500 Subject: [PATCH] Fix booster not selecting portals --- src/data/boardUtils.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/data/boardUtils.tsx b/src/data/boardUtils.tsx index 09724c7..d515b3f 100644 --- a/src/data/boardUtils.tsx +++ b/src/data/boardUtils.tsx @@ -296,12 +296,12 @@ export function onDropPortal(node: BoardNode, otherNode: BoardNode) { if (portals.includes(portal)) { node.state = { ...(node.state as object), - tools: portals.filter(r => r !== portal) + portals: portals.filter(r => r !== portal) }; } else { node.state = { ...(node.state as object), - tools: [...portals, portal] + portals: [...portals, portal] }; } main.board.selectedNode.value = node;