Golf _apply

This commit is contained in:
Pyrex 2022-12-22 18:33:48 -08:00
parent 2d565873b3
commit 94e4aea20b

View File

@ -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)