Oopsie
This commit is contained in:
parent
2fbb51cefe
commit
17cc43fe89
4
ccpi.lua
4
ccpi.lua
|
@ -106,7 +106,7 @@ local function draw(img, ox, oy, monitor)
|
||||||
return nil, "setPaletteColor is not supported on this term"
|
return nil, "setPaletteColor is not supported on this term"
|
||||||
end
|
end
|
||||||
|
|
||||||
if not t.setTextScale and img.scale != 1 then
|
if not t.setTextScale and img.scale ~= 1 then
|
||||||
return nil, "setTextScale is not supported on this term"
|
return nil, "setTextScale is not supported on this term"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -114,7 +114,7 @@ local function draw(img, ox, oy, monitor)
|
||||||
t.setPaletteColor(bit.blshift(1, i - 1), img.palette[i])
|
t.setPaletteColor(bit.blshift(1, i - 1), img.palette[i])
|
||||||
end
|
end
|
||||||
|
|
||||||
if img.scale != 1 then
|
if img.scale ~= 1 then
|
||||||
t.setTextScale(img.scale)
|
t.setTextScale(img.scale)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue