From c73844e83df0ef00e7040ed44e25ef63d9caafd6 Mon Sep 17 00:00:00 2001 From: Max Wofford Date: Fri, 10 Jan 2025 15:26:50 -0500 Subject: [PATCH] Add break statements to not 'buy' & 'take' at the same time --- src/app/harbor/shop/shopkeeper.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/app/harbor/shop/shopkeeper.js b/src/app/harbor/shop/shopkeeper.js index b152d139..aecd2a86 100644 --- a/src/app/harbor/shop/shopkeeper.js +++ b/src/app/harbor/shop/shopkeeper.js @@ -84,12 +84,14 @@ export const ShopkeeperComponent = ({ balance, cursed }) => { } else { await setBuyButton() } + break case 'bellButton': if (arg[0]) { await setBellButton(arg[0]) } else { await setBellButton() } + break case 'pause': if (arg[0]) { await new Promise((resolve) =>