- [FIX] tweening.update() ara es crida a nivell de aplicació - [NEW] tilepicker i itempicker adequats al nou disseny/sistema
16 lines
273 B
Lua
16 lines
273 B
Lua
app = {
|
|
|
|
update = nil,
|
|
stack = {},
|
|
|
|
push = function(func)
|
|
table.insert(app.stack, app.update)
|
|
app.update = func
|
|
end,
|
|
|
|
pop = function()
|
|
if #app.stack > 0 then
|
|
app.update = table.remove(app.stack)
|
|
end
|
|
end,
|
|
} |