debug keys

This commit is contained in:
Simon Kellet 2024-07-24 15:58:04 +01:00
parent b8106bc1aa
commit 78b4379143

View File

@ -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