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;