summaryrefslogtreecommitdiffhomepage
path: root/config/menumain.lua
diff options
context:
space:
mode:
authorAki <nthirtyone@gmail.com>2016-08-28 20:41:48 +0200
committerAki <nthirtyone@gmail.com>2016-08-28 20:41:48 +0200
commit96b4407ae6410affd0db1e6d6d657d4f65d32235 (patch)
tree6bace9e2efac1f9aa9499f0b841ade56c1feab5f /config/menumain.lua
parentf3318c4549a63ed151577b0ee0742440f780e4ca (diff)
downloadroflnauts-96b4407ae6410affd0db1e6d6d657d4f65d32235.zip
roflnauts-96b4407ae6410affd0db1e6d6d657d4f65d32235.tar.gz
roflnauts-96b4407ae6410affd0db1e6d6d657d4f65d32235.tar.bz2
No blinking; buttons enabled/disabled
Diffstat (limited to 'config/menumain.lua')
-rw-r--r--config/menumain.lua12
1 files changed, 6 insertions, 6 deletions
diff --git a/config/menumain.lua b/config/menumain.lua
index 2ca2c59..e1bd89f 100644
--- a/config/menumain.lua
+++ b/config/menumain.lua
@@ -18,22 +18,22 @@ return {
button:new(menu)
:setText("Join")
:setPosition(bx, 96)
- :set("active", function (self)
- self:blink()
+ :set("isEnabled", function (self)
+ return false
end)
,
button:new(menu)
:setText("Settings")
:setPosition(bx, 112)
- :set("active", function (self)
- self:blink()
+ :set("isEnabled", function (self)
+ return false
end)
,
button:new(menu)
:setText("Credits")
:setPosition(bx, 128)
- :set("active", function (self)
- self:blink()
+ :set("isEnabled", function (self)
+ return false
end)
,
button:new(menu)