summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAki <nthirtyone@gmail.com>2016-05-26 17:22:48 +0200
committerAki <nthirtyone@gmail.com>2016-05-26 17:22:48 +0200
commit6672ea6ee588452fbbbd6996af160e4059643d16 (patch)
treead7aa9b233289409e0efa655c2c2c9c4d1143114
parentd82539a68559c79f3c5488d585354dfcb4f072ad (diff)
downloadroflnauts-6672ea6ee588452fbbbd6996af160e4059643d16.zip
roflnauts-6672ea6ee588452fbbbd6996af160e4059643d16.tar.gz
roflnauts-6672ea6ee588452fbbbd6996af160e4059643d16.tar.bz2
F5 fixed, really.
-rw-r--r--main.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.lua b/main.lua
index 28e7382..b5c8840 100644
--- a/main.lua
+++ b/main.lua
@@ -55,10 +55,10 @@ function love.keypressed (key)
end
if key == "f5" and debug then
local new = World:new("default", "leon", "lonestar", third, fourth)
- w.Nauts[1]:assignController(cont1)
- w.Nauts[2]:assignController(cont2)
w = nil
w = new
+ w.Nauts[1]:assignController(cont1)
+ w.Nauts[2]:assignController(cont2)
end
end