Skip to content

Commit

Permalink
Fix: send timeMessage when using boss lever (opentibiabr#2701)
Browse files Browse the repository at this point in the history
  • Loading branch information
attack787 authored Jun 20, 2024
1 parent 4af5b2d commit 74a5df0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/libs/functions/boss_lever.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 74a5df0

Please sign in to comment.