From 78b4379143be03b8baab70e727cad51735f795e4 Mon Sep 17 00:00:00 2001 From: Simon Kellet Date: Wed, 24 Jul 2024 15:58:04 +0100 Subject: [PATCH] debug keys --- Game/GameKeyPressed.lua | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Game/GameKeyPressed.lua b/Game/GameKeyPressed.lua index 2c9cc12..fac2a7d 100644 --- a/Game/GameKeyPressed.lua +++ b/Game/GameKeyPressed.lua @@ -20,6 +20,7 @@ function GameKeyPressed(key) end -- debug map changes! + --[[ if DebugFlag and key == "1" then _G.CUR_LEVEL = 1 RestartGame() @@ -30,4 +31,10 @@ function GameKeyPressed(key) RestartGame() love.load() end + if DebugFlag and key == "3" then + _G.CUR_LEVEL = 3 + RestartGame() + love.load() + end + --]] end