From 668f061077519f9adcd10ce23e33327ea95d48ec Mon Sep 17 00:00:00 2001 From: Ishaan Bhardwaj Date: Mon, 11 Jan 2021 22:40:48 -0500 Subject: [PATCH] Fixed drawing frame on non-standard grids --- scene/game.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scene/game.lua b/scene/game.lua index 6b86b61..8285d77 100644 --- a/scene/game.lua +++ b/scene/game.lua @@ -60,7 +60,7 @@ function GameScene:render() 16 * self.game.grid.width, 16 * (self.game.grid.height - 4) ) - if self.game.grid.width ~= 10 and self.game.grid.height ~= 24 then + if self.game.grid.width ~= 10 or self.game.grid.height ~= 24 then love.graphics.setColor(174/255, 83/255, 76/255, 1) love.graphics.setLineWidth(8) love.graphics.line(