From 9a24161eea235b7e7d17a0370e5785e460c8ae0a11d4dfdda26e5e66bcd9f721 Mon Sep 17 00:00:00 2001 From: aslan Date: Fri, 23 Jan 2026 10:53:33 -0500 Subject: [PATCH] Resolve circular dependency --- src/modules/game/game.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/game/game.ts b/src/modules/game/game.ts index 0c5ea6b..1a55dad 100644 --- a/src/modules/game/game.ts +++ b/src/modules/game/game.ts @@ -351,7 +351,7 @@ const onEntity = (text: string, roomId: string, sender: string) => { const onFight = (text: string, roomId: string, sender: string) => { const player = getPlayer(sender); - const entityName = text.replace(`${gamePrefix} entity `, "").trim(); + const entityName = text.replace(`${gamePrefix} fight `, "").trim(); if (!existsEntity(entityName)) { client.sendTextMessage(roomId, "No such entity exists"); return;