add check so that an unevenstack only gets added if it actually has something.

This commit is contained in:
Justus Wolff
2026-02-23 00:52:26 +01:00
parent b795880174
commit 285ef315ab

View File

@@ -674,7 +674,7 @@ local function VP_splitstack(_stack, x)
buf[i] = v buf[i] = v
ind = ind + 1 ind = ind + 1
end end
table.insert(stacks, buf) if VP_lengthofdict(buf) > 0 then table.insert(stacks, buf) end
local out = { local out = {
height=height, height=height,
@@ -805,6 +805,8 @@ local function randomstr(length)
return out return out
end end
while true do while true do
integritycheck() integritycheck()
local action = selopt({ local action = selopt({