From ca7ce851d9f3d449bc46175e8c37b95e6d079ec7 Mon Sep 17 00:00:00 2001 From: "Squishy (C6H12O6+NaCl+H2O)" <106439598+SweetSea-ButImNotSweet@users.noreply.github.com> Date: Sun, 26 May 2024 11:18:54 +0700 Subject: [PATCH] Disable debug code --- main.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/main.lua b/main.lua index 6e249cc..e65f2d9 100644 --- a/main.lua +++ b/main.lua @@ -102,10 +102,10 @@ function love.draw() -- love.graphics.line(0, grid_height * iy, 640, grid_height * iy) -- end - local x, y = GLOBAL_TRANSFORM:inverseTransformPoint(love.mouse.getPosition()) - love.graphics.setColor(0, 0, 0, 0.8) - love.graphics.rectangle("fill", 5, 450, 115, 25) - drawText(string.format("X: %.1d; Y: %.1d", x, y), 10, 455, 110, "left") + -- local x, y = GLOBAL_TRANSFORM:inverseTransformPoint(love.mouse.getPosition()) + -- love.graphics.setColor(0, 0, 0, 0.8) + -- love.graphics.rectangle("fill", 5, 450, 115, 25) + -- drawText(string.format("X: %.1d; Y: %.1d", x, y), 10, 455, 110, "left") -- love.graphics.setColor(1, 1, 1, 1) -- love.graphics.setLineWidth(2) @@ -157,7 +157,7 @@ function love.keypressed(key, scancode) elseif scancode == "f2" and SCENE.title ~= "Input Config" and SCENE.title ~= "Game" then SCENE = InputConfigScene() elseif scancode == "f12" then LLDEBUGGER.requestBreak() - elseif scancode == "f11" then SETTINGS.firstTime = true + -- elseif scancode == "f11" then SETTINGS.firstTime = true -- function keys are reserved elseif string.match(scancode, "^f[1-9]$") or string.match(scancode, "^f1[0-2]+$") then return