summaryrefslogtreecommitdiffhomepage
path: root/config/menus
diff options
context:
space:
mode:
authorAki <nthirtyone@gmail.com>2017-09-05 03:49:33 +0200
committerAki <nthirtyone@gmail.com>2017-09-05 03:49:33 +0200
commit84f6ec47be56d397fe140b5707b76078917fe8fb (patch)
treebcacf782f0c9bc7fd8919cbe43f38cfde1b37506 /config/menus
parent9fb64e49be5d991a0bf4bc1f6f162f40276ba2f5 (diff)
downloadroflnauts-84f6ec47be56d397fe140b5707b76078917fe8fb.zip
roflnauts-84f6ec47be56d397fe140b5707b76078917fe8fb.tar.gz
roflnauts-84f6ec47be56d397fe140b5707b76078917fe8fb.tar.bz2
Random naut selection is back!
Diffstat (limited to 'config/menus')
-rw-r--r--config/menus/select.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/menus/select.lua b/config/menus/select.lua
index 0540bd5..d350c32 100644
--- a/config/menus/select.lua
+++ b/config/menus/select.lua
@@ -34,7 +34,7 @@ do
return
end
if self.index == 2 then
- return -- roll random, soon.
+ self.index = self:rollRandom({1, 2})
end
if self:isUnique() then
self.lock = true