From a22ab50f546078aa4ba93d69e85061c2c887c4b2 Mon Sep 17 00:00:00 2001 From: Simon Cambier Date: Sun, 3 Jul 2022 14:39:25 +0200 Subject: [PATCH] Fixed bug --- board.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board.lua b/board.lua index 6212d3f..1826b95 100644 --- a/board.lua +++ b/board.lua @@ -167,7 +167,7 @@ function Board.new() current += 1 end end - return top + return max(current, top) end, --