mirror of
https://github.com/edubart/otclient.git
synced 2025-05-01 18:19:20 +02:00
Fix death message
This commit is contained in:
parent
a1fb373b1b
commit
2993853fe0
@ -27,10 +27,8 @@ function display()
|
|||||||
end
|
end
|
||||||
|
|
||||||
function displayDeadMessage()
|
function displayDeadMessage()
|
||||||
local advanceLabel = modules.game_interface.getMapPanel():recursiveGetChildById('centerAdvance')
|
local advanceLabel = modules.game_interface.getRootPanel():recursiveGetChildById('middleCenterLabel')
|
||||||
if advanceLabel:isVisible() then
|
if advanceLabel:isVisible() then return end
|
||||||
return
|
|
||||||
end
|
|
||||||
|
|
||||||
modules.game_textmessage.displayGameMessage(tr('You are dead.'))
|
modules.game_textmessage.displayGameMessage(tr('You are dead.'))
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user