diff options
author | Aki <nthirtyone@gmail.com> | 2016-08-15 16:24:31 +0200 |
---|---|---|
committer | Aki <nthirtyone@gmail.com> | 2016-08-15 16:24:31 +0200 |
commit | 813fd73eb0bc4b74b9ea39654491ca37456408e2 (patch) | |
tree | d561e753c503ddf50ab4a222a5fba01b4726811a /world.lua | |
parent | 7f188301d4e3d7e78489d7abcb874e7e98a22bf5 (diff) | |
download | roflnauts-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.lua | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -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 |