bit more of refactoring

This commit is contained in:
lustlion
2022-01-18 14:02:56 +01:00
parent 0b18fcd369
commit 389eaed285
2 changed files with 20 additions and 10 deletions

View File

@@ -129,7 +129,11 @@ function love.draw()
if game.width ~= love.graphics.getWidth() or game.height ~= love.graphics.getHeight() then
game.width = love.graphics.getWidth()
game.height = love.graphics.getHeight()
game_resize = true
else
game_resize = false
end
if editor_mode then
drawEditor()
else