1
0
mirror of https://github.com/LDDestroier/CC/ synced 2025-11-10 12:23:01 +00:00

Update ccbn.lua

This commit is contained in:
LDDestroier
2019-03-09 17:24:33 -05:00
committed by GitHub
parent 9f30479973
commit b893214b16

View File

@@ -19,7 +19,15 @@ local stage = {
} }
-- ripped from NFTE -- ripped from NFTE
colorSwap = function(image, text, back) local getSize = function(image)
assert(checkValid(image), "Invalid image.")
local x, y = 0, #image[1]
for y = 1, #image[1] do
x = math.max(x, #image[1][y])
end
return x, y
end
local colorSwap = function(image, text, back)
local output = {{},{},{}} local output = {{},{},{}}
for y = 1, #image[1] do for y = 1, #image[1] do
output[1][y] = image[1][y] output[1][y] = image[1][y]