Skip to content

Commit 1a2a70c

Browse files
committed
fix :settable when adding a new transformer fun
1 parent c4c3220 commit 1a2a70c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lua/sequins.lua

+3
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,9 @@ function S:setdata(t)
6666
end
6767
end
6868
end
69+
elseif src[1] then -- no existing transformer, so we just pull in the new one
70+
print'new transformer'
71+
self.fun = t.fun
6972
end
7073
end
7174

0 commit comments

Comments
 (0)