mirror of
https://github.com/edubart/otclient.git
synced 2025-10-15 03:54:54 +02:00
Fix deathwindow issue
This commit is contained in:
@@ -47,7 +47,7 @@ function openWindow()
|
|||||||
deathWindow = nil
|
deathWindow = nil
|
||||||
end
|
end
|
||||||
local cancelFunc = function()
|
local cancelFunc = function()
|
||||||
modules.game_interface.logout()
|
g_game.safeLogout()
|
||||||
cancelButton:getParent():destroy()
|
cancelButton:getParent():destroy()
|
||||||
deathWindow = nil
|
deathWindow = nil
|
||||||
end
|
end
|
||||||
|
Reference in New Issue
Block a user