mirror of
https://github.com/edubart/otclient.git
synced 2025-11-30 07:26:49 +01:00
restore terminal, rework console
This commit is contained in:
@@ -4,11 +4,11 @@ Background = { }
|
||||
local background
|
||||
|
||||
-- public functions
|
||||
function Background.create()
|
||||
function Background.init()
|
||||
background = displayUI('background.otui')
|
||||
end
|
||||
|
||||
function Background.destroy()
|
||||
function Background.terminate()
|
||||
background:destroy()
|
||||
background = nil
|
||||
end
|
||||
|
||||
@@ -6,8 +6,8 @@ Module
|
||||
|
||||
onLoad: |
|
||||
require 'background'
|
||||
Background.create()
|
||||
Background.init()
|
||||
|
||||
onUnload:
|
||||
Background.destroy()
|
||||
Background.terminate()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user