From 94e4aea20b9c4fe29b1ae991ac8b05f39a542db9 Mon Sep 17 00:00:00 2001 From: Nyeogmi Date: Thu, 22 Dec 2022 18:33:48 -0800 Subject: [PATCH] Golf _apply --- chameleonic.p8 | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/chameleonic.p8 b/chameleonic.p8 index 401cdc4..edc351d 100644 --- a/chameleonic.p8 +++ b/chameleonic.p8 @@ -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)