From 93d20c3e9e5b8cb111d54d7d4d6a01511b0044f5 Mon Sep 17 00:00:00 2001 From: Justus Wolff Date: Mon, 23 Feb 2026 01:03:49 +0100 Subject: [PATCH] change the failcheck again. --- src/main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.lua b/src/main.lua index 9d14925..3ddeb06 100644 --- a/src/main.lua +++ b/src/main.lua @@ -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"] ~= even then + if #stacks["stacks"] ~= #accepted and (#stacks["stacks"] ~= #accepted+1) then printError("Internal error with VP_splitstack. It returned "..#stacks["stacks"].." stacks.") return end