add missing return in palette.new
This commit is contained in:
@ -170,6 +170,7 @@ function palette.new(x)
|
|||||||
if (not x.cols) x.cols = {}
|
if (not x.cols) x.cols = {}
|
||||||
if (not x.tr) x.tr = {}
|
if (not x.tr) x.tr = {}
|
||||||
setmetatable(x, palette_mt)
|
setmetatable(x, palette_mt)
|
||||||
|
return x
|
||||||
end
|
end
|
||||||
|
|
||||||
function palette:do_pal(p)
|
function palette:do_pal(p)
|
||||||
|
Reference in New Issue
Block a user