bit more of refactoring
This commit is contained in:
4
main.lua
4
main.lua
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user