diff --git a/pal_from_spr.p8 b/pal_from_spr.p8 index dc9c7ed..6557ea5 100644 --- a/pal_from_spr.p8 +++ b/pal_from_spr.p8 @@ -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)