diff options
author | Aki <nthirtyone@gmail.com> | 2017-02-09 18:05:05 +0100 |
---|---|---|
committer | Aki <nthirtyone@gmail.com> | 2017-02-09 18:05:05 +0100 |
commit | 32d5db517b330963c737d29c693ad592ec62e697 (patch) | |
tree | bd19cb47f13eb698d36fe457cb54e352bf55086c /selector.lua | |
parent | a7b1bcc6872579b0ed8dbce399352d3afca1a80f (diff) | |
parent | c4cec4731cdf10ac2740775c08efbda571e58040 (diff) | |
download | roflnauts-32d5db517b330963c737d29c693ad592ec62e697.zip roflnauts-32d5db517b330963c737d29c693ad592ec62e697.tar.gz roflnauts-32d5db517b330963c737d29c693ad592ec62e697.tar.bz2 |
Merge branch 'fix/draw'
Diffstat (limited to 'selector.lua')
-rw-r--r-- | selector.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/selector.lua b/selector.lua index 851e451..61401e7 100644 --- a/selector.lua +++ b/selector.lua @@ -284,7 +284,7 @@ function Selector:controlpressed(set, action, key) if action == "attack" then local name = self:getListValue(self:getSelection(n)) if name == "random" then - self:setSelection(n, self:rollRandom({1})) -- avoid empty naut + self:setSelection(n, self:rollRandom({1,2})) -- avoid empty naut self.locks[n] = true else -- If not empty or if first is allowed. Additionaly must be unique selection. |