Removed the oopsie
This commit is contained in:
parent
9532f196d5
commit
76f4835021
4
ccpi.lua
4
ccpi.lua
|
@ -101,7 +101,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 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
|
||||||
|
|
||||||
|
@ -109,7 +109,9 @@ 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
|
||||||
t.setTextScale(img.scale)
|
t.setTextScale(img.scale)
|
||||||
|
end
|
||||||
|
|
||||||
for y = 1, img.h do
|
for y = 1, img.h do
|
||||||
t.setCursorPos(ox, oy + y - 1)
|
t.setCursorPos(ox, oy + y - 1)
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
some super secret stuff idk
|
|
Loading…
Reference in New Issue