mirror of
https://github.com/edubart/otclient.git
synced 2025-10-16 12:34:55 +02:00
Fix #283 and more:
* Might have fixed death window issue but not confirmed * Stop hotkey window from display while offline * Moved some required features to >= 840 if statement (protocol 840/842 arent supported in otclient yet)
This commit is contained in:
@@ -33,7 +33,10 @@ function displayDeadMessage()
|
||||
end
|
||||
|
||||
function openWindow()
|
||||
if deathWindow then return end
|
||||
if deathWindow then
|
||||
deathWindow:destroy()
|
||||
return
|
||||
end
|
||||
deathWindow = g_ui.createWidget('DeathWindow', rootWidget)
|
||||
local okButton = deathWindow:getChildById('buttonOk')
|
||||
local cancelButton = deathWindow:getChildById('buttonCancel')
|
||||
|
Reference in New Issue
Block a user