diff --git a/main.lua b/main.lua index d75610d..546a4df 100644 --- a/main.lua +++ b/main.lua @@ -2,8 +2,6 @@ local tau = math.pi * 2 local game = {} local function load_level(level, bubble_diameter, row_gap) - if arg[#arg] == "debug" then require("lldebugger").start() end - local slots = {} local bubble_radius = bubble_diameter / 2 @@ -50,6 +48,8 @@ local function find_nearest_slot(x, y) end function love.load(arg) + if arg[#arg] == "debug" then require("lldebugger").start() end + game.window_width, game.window_height = love.graphics.getDimensions() game.paused = false