change the failcheck again.

This commit is contained in:
Justus Wolff
2026-02-23 01:03:49 +01:00
parent bc2cdbf347
commit 93d20c3e9e

View File

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