1
0
mirror of https://github.com/LDDestroier/CC/ synced 2025-09-09 22:36:03 +00:00

Update pain.lua

This commit is contained in:
LDDestroier
2018-11-08 00:49:50 -05:00
committed by GitHub
parent 17206f89f6
commit 867580fe27

View File

@@ -722,7 +722,7 @@ end
local tableFormatPE = function(input) local tableFormatPE = function(input)
local doot = {} local doot = {}
local pwidths = {} local pwidths = {}
local pheight = {} local pheight = 0
for k, dot in pairs(input) do for k, dot in pairs(input) do
pwidths[dot.y] = math.max((pwidths[dot.y] or 0), dot.x) pwidths[dot.y] = math.max((pwidths[dot.y] or 0), dot.x)
pheight = math.max(pheight, dot.y) pheight = math.max(pheight, dot.y)