forked from pyrex/chameleonic
Golf _apply
This commit is contained in:
parent
2d565873b3
commit
94e4aea20b
@ -86,11 +86,7 @@ end
|
|||||||
function _apply(x,ts,a)
|
function _apply(x,ts,a)
|
||||||
local t=deli(ts,1)
|
local t=deli(ts,1)
|
||||||
for k,v in pairs(t) do
|
for k,v in pairs(t) do
|
||||||
if k=="update" then
|
if (k!="update") x[k]=v
|
||||||
--
|
|
||||||
else
|
|
||||||
x[k]=v
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
if (t and t.update and not t.update(x,a)) add(ts,t,1)
|
if (t and t.update and not t.update(x,a)) add(ts,t,1)
|
||||||
|
Loading…
Reference in New Issue
Block a user