Skip to content

Commit

Permalink
Fix init bug for maxw
Browse files Browse the repository at this point in the history
  • Loading branch information
josefnpat committed Feb 26, 2022
1 parent 49eaacd commit cb4c496
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ database = databaselib.new{width=width}
function love.load()
set_res()
load_cart_from_image(autoload and cart_filename or "default.png")
maxw = 0
end

function love.draw()
Expand Down

0 comments on commit cb4c496

Please sign in to comment.