change the failcheck to use even.

This commit is contained in:
Justus Wolff
2026-02-23 01:01:29 +01:00
parent ee428d09bc
commit bc2cdbf347

View File

@@ -894,7 +894,7 @@ while true do
local even = (VP_lengthofdict(stacks["stacks"])%(#accepted+1)) == 0
if even then even = #accepted+1 else even = #accepted end
stacks = VP_splitstack(stacks, even)
if #stacks["stacks"] ~= #accepted+1 then
if #stacks["stacks"] ~= even then
printError("Internal error with VP_splitstack. It returned "..#stacks["stacks"].." stacks.")
return
end