summaryrefslogtreecommitdiffhomepage
path: root/world.lua
diff options
context:
space:
mode:
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