add missing return in palette.new
This commit is contained in:
parent
8f770c00e1
commit
4a15eedb05
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user