fixing something

This commit is contained in:
세젤귀 고양이들 2021-12-24 22:18:48 +09:00
parent a74c7842b1
commit cdc11d4c2b
2 changed files with 7 additions and 3 deletions

View file

@ -99,10 +99,10 @@ function module.init(shared)
local with = value.wfunc;
local tstore = value.store;
local rawKey = value.key;
local set = store[rawKey];
local set = tstore[rawKey];
if set or (rawKey:match(",") and with) then
if with then
set = with(item,tstore,set,value.key);
set = with(tstore,set,value.key,item);
end
setProperty(item,index,set,ClassName);
else
@ -120,7 +120,7 @@ function module.init(shared)
newValue = from[newValue];
end
if with then
newValue = with(item,tstore,newValue,key);
newValue = with(tstore,newValue,key,item);
end
if tween then
if not advancedTween then

View file

@ -61,4 +61,8 @@ function module.init(id)
return this;
end
function module.uninit(id)
idSpace[id] = nil;
end
return module;