Update init.lua

This commit is contained in:
console.log(cat == cute) 2022-08-13 22:30:59 +09:00 committed by GitHub
parent e61ba00893
commit 23ad73fe25
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -39,9 +39,9 @@ local idSpace = {};
---@return quad_module_tween tween
function module.init(id)
if id then
local last = idSpace[id];
if last then
return last;
local this = idSpace[id];
if this then
return this,this.round,this.class,this.mount,this.store,this.event,this.tween;
end
end
local this = {items = {}};