summaryrefslogtreecommitdiffhomepage
path: root/config/menuselect.lua
diff options
context:
space:
mode:
Diffstat (limited to 'config/menuselect.lua')
-rw-r--r--config/menuselect.lua8
1 files changed, 6 insertions, 2 deletions
diff --git a/config/menuselect.lua b/config/menuselect.lua
index 31cf02e..c79396c 100644
--- a/config/menuselect.lua
+++ b/config/menuselect.lua
@@ -24,12 +24,16 @@ return {
start_button
:setText("Force start")
:setPosition(bx,134)
+ :set("isEnabled", function ()
+ if #naut_selector:getFullSelection(false) > 1 then
+ return true
+ end
+ return false
+ end)
:set("active", function (self)
local nauts = naut_selector:getFullSelection(false)
if #nauts > 1 then
changeScene(World:new(MAP, nauts))
- else
- self:blink()
end
end)
,