From 17c7de22409f85e62221e8d429d059b3ffda97fb Mon Sep 17 00:00:00 2001 From: Simon Cambier Date: Wed, 1 Jun 2022 21:52:45 +0200 Subject: [PATCH] Fixed drawing --- board.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board.lua b/board.lua index 473a0db..147f4af 100644 --- a/board.lua +++ b/board.lua @@ -374,7 +374,7 @@ function Board.new() local x,y = self:idx_xy(k) local color = v == BLUE and 12 or v == YELLOW and 8 or 1 if color == 1 then fillp(▒) else fillp(█) end - rectfill( + rectfill2( margin + (x-1)*w + (x-1)*(padding+1), margin + (y-1)*w + (y-1)*(padding+1), w, w, color)