diff options
author | Aki <nthirtyone@gmail.com> | 2017-07-12 09:38:36 +0200 |
---|---|---|
committer | Aki <nthirtyone@gmail.com> | 2017-07-12 09:38:36 +0200 |
commit | d161510d2dc33046459e874e716c02c76d49f7d5 (patch) | |
tree | 5256abf758e0750aa2053e1ce4cc9492c4d3ca2f /not/World.lua | |
parent | 094f9326d1e3ae6e451b21192b288220a8fab12e (diff) | |
download | roflnauts-d161510d2dc33046459e874e716c02c76d49f7d5.zip roflnauts-d161510d2dc33046459e874e716c02c76d49f7d5.tar.gz roflnauts-d161510d2dc33046459e874e716c02c76d49f7d5.tar.bz2 |
Menu moved to new OOP model
Diffstat (limited to 'not/World.lua')
-rw-r--r-- | not/World.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/not/World.lua b/not/World.lua index ab94ff4..be29557 100644 --- a/not/World.lua +++ b/not/World.lua @@ -195,7 +195,7 @@ function World:onNautKilled (naut) self:createRay(naut) local nauts = self:getNautsPlayable() if self.lastNaut then - changeScene(Menu:new()) + changeScene(Menu()) elseif #nauts < 2 then self.lastNaut = true naut:playSound(5, true) |