From cb70967b825a422572e43817b858902d91acde95 Mon Sep 17 00:00:00 2001 From: Ishaan Bhardwaj Date: Mon, 11 Jan 2021 15:52:11 -0500 Subject: [PATCH] Default field graphic fix --- scene/game.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scene/game.lua b/scene/game.lua index c882bb4..6b86b61 100644 --- a/scene/game.lua +++ b/scene/game.lua @@ -50,7 +50,7 @@ function GameScene:render() ) -- game frame - if self.game.grid.width == 10 then + if self.game.grid.width == 10 and self.game.grid.height == 24 then love.graphics.draw(misc_graphics["frame"], 48, 64) end @@ -60,7 +60,7 @@ function GameScene:render() 16 * self.game.grid.width, 16 * (self.game.grid.height - 4) ) - if self.game.grid.width ~= 10 then + if self.game.grid.width ~= 10 and self.game.grid.height ~= 24 then love.graphics.setColor(174/255, 83/255, 76/255, 1) love.graphics.setLineWidth(8) love.graphics.line(