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 ---@return quad_module_tween tween
function module.init(id) function module.init(id)
if id then if id then
local last = idSpace[id]; local this = idSpace[id];
if last then if this then
return last; return this,this.round,this.class,this.mount,this.store,this.event,this.tween;
end end
end end
local this = {items = {}}; local this = {items = {}};