summaryrefslogtreecommitdiffhomepage
path: root/world.lua
diff options
context:
space:
mode:
authorAki <nthirtyone@gmail.com>2016-08-15 16:24:31 +0200
committerAki <nthirtyone@gmail.com>2016-08-15 16:24:31 +0200
commit813fd73eb0bc4b74b9ea39654491ca37456408e2 (patch)
treed561e753c503ddf50ab4a222a5fba01b4726811a /world.lua
parent7f188301d4e3d7e78489d7abcb874e7e98a22bf5 (diff)
downloadroflnauts-813fd73eb0bc4b74b9ea39654491ca37456408e2.zip
roflnauts-813fd73eb0bc4b74b9ea39654491ca37456408e2.tar.gz
roflnauts-813fd73eb0bc4b74b9ea39654491ca37456408e2.tar.bz2
World to menu fix; countdown jump fix
Diffstat (limited to 'world.lua')
-rw-r--r--world.lua6
1 files changed, 1 insertions, 5 deletions
diff --git a/world.lua b/world.lua
index c96ed33..8f948ce 100644
--- a/world.lua
+++ b/world.lua
@@ -220,11 +220,7 @@ function World:onNautKilled(naut)
self:createRay(naut)
local nauts = self:getNautsPlayable()
if self.lastNaut then
- local m = Menu:new()
- for _,controller in pairs(Controllers) do
- m:assignController(controller)
- end
- changeScene(m)
+ changeScene(Menu:new())
elseif #nauts < 2 then
self.lastNaut = true
end