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)
|
||||
local t=deli(ts,1)
|
||||
for k,v in pairs(t) do
|
||||
if k=="update" then
|
||||
--
|
||||
else
|
||||
x[k]=v
|
||||
end
|
||||
if (k!="update") x[k]=v
|
||||
end
|
||||
|
||||
if (t and t.update and not t.update(x,a)) add(ts,t,1)
|
||||
|
Loading…
Reference in New Issue
Block a user