summaryrefslogtreecommitdiffhomepage
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/menuselect.lua7
1 files changed, 6 insertions, 1 deletions
diff --git a/config/menuselect.lua b/config/menuselect.lua
index 8d646ba..c3a05c1 100644
--- a/config/menuselect.lua
+++ b/config/menuselect.lua
@@ -23,7 +23,12 @@ return {
:setText("Force start")
:setPosition(bx,101)
:set("active", function (self)
- changeScene(World:new(nil,naut_selector:getFullSelection(false)))
+ local nauts = naut_selector:getFullSelection(false)
+ if #nauts > 1 then
+ changeScene(World:new(nil, nauts))
+ else
+ self:blink()
+ end
end)
,
button:new(menu)