add missing return in palette.new

This commit is contained in:
Kistaro Windrider 2023-10-01 12:49:03 -07:00
parent 8f770c00e1
commit 4a15eedb05
Signed by: kistaro
SSH Key Fingerprint: SHA256:TBE2ynfmJqsAf0CP6gsflA0q5X5wD5fVKWPsZ7eVUg8

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)