diff options
author | Aki <nthirtyone@gmail.com> | 2016-05-22 20:58:08 +0200 |
---|---|---|
committer | Aki <nthirtyone@gmail.com> | 2016-05-22 20:58:08 +0200 |
commit | 97286c4456282048085f1a6641e01715a4f7fc5f (patch) | |
tree | 1bc66603100d2e8c90a60129f8a8dabc2e00f3a6 /main.lua | |
parent | ae1a37e96f5110286dfa9af05b66479c6b9707bc (diff) | |
download | roflnauts-97286c4456282048085f1a6641e01715a4f7fc5f.zip roflnauts-97286c4456282048085f1a6641e01715a4f7fc5f.tar.gz roflnauts-97286c4456282048085f1a6641e01715a4f7fc5f.tar.bz2 |
Reload map key
Diffstat (limited to 'main.lua')
-rw-r--r-- | main.lua | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 |