From 3bd0696508d6647cee21ad8615a5f93bbca0ee10 Mon Sep 17 00:00:00 2001 From: Hri7566 Date: Tue, 5 Mar 2024 17:39:48 -0500 Subject: [PATCH] Fix dialog tweaks --- src/api/commands/groups/fishing/look.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/api/commands/groups/fishing/look.ts b/src/api/commands/groups/fishing/look.ts index 987adaf..0cb7cff 100644 --- a/src/api/commands/groups/fishing/look.ts +++ b/src/api/commands/groups/fishing/look.ts @@ -25,8 +25,8 @@ export const look = new Command( ); } - return `There's ${ - objList.join(", ") + ", about." || "not much around." - }`; + const list = objList.join(", "); + + return `There's ${list ? list + ", about." : "not much around."}`; } );