main
Simon Kellet 5 months ago
parent 9e968b9390
commit 38826d0cd8
  1. 12
      Game/GameKeyPressed.lua

@ -18,4 +18,16 @@ function GameKeyPressed(key)
_G.GAMESTATE = "GAME"
love.load()
end
-- debug map changes!
if DebugFlag and key == "1" then
_G.CUR_LEVEL = 1
RestartGame()
love.load()
end
if DebugFlag and key == "2" then
_G.CUR_LEVEL = 2
RestartGame()
love.load()
end
end

Loading…
Cancel
Save