mirror of
https://github.com/edubart/otclient.git
synced 2025-10-15 03:54:54 +02:00
Warn when no graphics is detected at startup
Add script for building otclient snaphots
This commit is contained in:
@@ -125,11 +125,11 @@ function tryExit()
|
||||
local logoutFunc = function() logout() exitWindow:destroy() exitWindow = nil end
|
||||
local cancelFunc = function() exitWindow:destroy() exitWindow = nil end
|
||||
|
||||
exitWindow = displayGeneralBox('Exit', tr("If you shut down the program, your character might stay in the game.\nClick on 'Logout' to ensure that you character leaves the game properly.\nClick on 'Exit' if you want to exit the program without logging out your character."), {
|
||||
{ text='Force Exit', callback=exitFunc },
|
||||
exitWindow = displayGeneralBox('Exit', tr("If you shut down the program, your character might stay in the game.\nClick on 'Logout' to ensure that you character leaves the game properly.\nClick on 'Exit' if you want to exit the program without logging out your character."),
|
||||
{ { text='Force Exit', callback=exitFunc },
|
||||
{ text='Logout', callback=logoutFunc },
|
||||
{ text='Cancel', callback=cancelFunc },
|
||||
anchor=AnchorHorizontalCenter}, logoutFunc, cancelFunc)
|
||||
anchor=AnchorHorizontalCenter }, logoutFunc, cancelFunc)
|
||||
|
||||
return true
|
||||
end
|
||||
|
Reference in New Issue
Block a user