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"
|
||||
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"
|
||||
end
|
||||
|
||||
|
@ -114,7 +114,7 @@ local function draw(img, ox, oy, monitor)
|
|||
t.setPaletteColor(bit.blshift(1, i - 1), img.palette[i])
|
||||
end
|
||||
|
||||
if img.scale != 1 then
|
||||
if img.scale ~= 1 then
|
||||
t.setTextScale(img.scale)
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue