From 74a5df00160ad11ecfc4557b1dd4cf6857fb8ee7 Mon Sep 17 00:00:00 2001 From: attack787 <47985212+attack787@users.noreply.github.com> Date: Wed, 19 Jun 2024 22:49:43 -0300 Subject: [PATCH] Fix: send timeMessage when using boss lever (#2701) --- data/libs/functions/boss_lever.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/libs/functions/boss_lever.lua b/data/libs/functions/boss_lever.lua index 48d00582e89..b95bf7211b0 100644 --- a/data/libs/functions/boss_lever.lua +++ b/data/libs/functions/boss_lever.lua @@ -189,7 +189,7 @@ function BossLever:onUse(player) local currentTime = os.time() if lastEncounter and currentTime < lastEncounter then local timeLeft = lastEncounter - currentTime - local timeMessage = getTimeInWords(timeLeft) .. " to face " .. monsterName .. " again!" + local timeMessage = getTimeInWords(timeLeft) .. " to face " .. self.name .. " again!" local message = "You have to wait " .. timeMessage if currentPlayer ~= player then