add missing return in palette.new

This commit is contained in:
2023-10-01 12:49:03 -07:00
parent 8f770c00e1
commit 4a15eedb05

View File

@ -170,6 +170,7 @@ function palette.new(x)
if (not x.cols) x.cols = {}
if (not x.tr) x.tr = {}
setmetatable(x, palette_mt)
return x
end
function palette:do_pal(p)