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
ind = ind + 1
end
table.insert(stacks, buf)
if VP_lengthofdict(buf) > 0 then table.insert(stacks, buf) end
local out = {
height=height,
@@ -805,6 +805,8 @@ local function randomstr(length)
return out
end
while true do
integritycheck()
local action = selopt({