summaryrefslogtreecommitdiffhomepage
path: root/main.lua
diff options
context:
space:
mode:
Diffstat (limited to 'main.lua')
-rw-r--r--main.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/main.lua b/main.lua
index c802f0b..8a59bba 100644
--- a/main.lua
+++ b/main.lua
@@ -71,6 +71,11 @@ function love.keypressed (key)
if key == "escape" then
love.event.quit()
end
+ if key == "f5" and debug then
+ local new = World:new("default", "leon", "lonestar", third, fourth)
+ w = nil
+ w = new
+ end
end
-- KeyReleased