mirror of
https://github.com/edubart/otclient.git
synced 2025-10-14 11:34:54 +02:00
logout works
This commit is contained in:
@@ -1,3 +1,11 @@
|
||||
function Game.createMainInterface()
|
||||
gameUi = loadUI('/game/ui/gameinterface.otui', UI.root)
|
||||
end
|
||||
end
|
||||
|
||||
function Game.onLogin()
|
||||
|
||||
end
|
||||
|
||||
function Game.onLogout()
|
||||
|
||||
end
|
||||
|
@@ -9,4 +9,5 @@ UIWidget
|
||||
Button
|
||||
anchors.left: gameMap.right
|
||||
anchors.top: parent.top
|
||||
text: Logout
|
||||
text: Logout
|
||||
onClick: Game.logout()
|
Reference in New Issue
Block a user