Put VSCode debug line in correct function
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user