mirror of
https://github.com/edubart/otclient.git
synced 2025-04-30 09:39:21 +02:00
17 lines
291 B
Lua
17 lines
291 B
Lua
require 'entergame'
|
|
|
|
function initializeApplication()
|
|
mainMenu = loadUI("ui/mainmenu")
|
|
end
|
|
|
|
function terminateApplication()
|
|
App.exit()
|
|
end
|
|
|
|
-- here is where everything starts
|
|
if not initialized then
|
|
initializeApplication()
|
|
App.onClose = terminateApplication
|
|
initialized = true
|
|
end
|