diff options
author | Aki <nthirtyone@gmail.com> | 2016-08-14 23:15:20 +0200 |
---|---|---|
committer | Aki <nthirtyone@gmail.com> | 2016-08-14 23:15:20 +0200 |
commit | b157604e385daa13e796acab80bcc6987ae5a555 (patch) | |
tree | 0727a25f06d7f79f4da6d6540eb4446fdfb5817a /menu.lua | |
parent | 22c36dfaac394ef8148d50a95c862e937b4e908a (diff) | |
download | roflnauts-b157604e385daa13e796acab80bcc6987ae5a555.zip roflnauts-b157604e385daa13e796acab80bcc6987ae5a555.tar.gz roflnauts-b157604e385daa13e796acab80bcc6987ae5a555.tar.bz2 |
Callbacks to selector
Diffstat (limited to 'menu.lua')
-rw-r--r-- | menu.lua | 15 |
1 files changed, 0 insertions, 15 deletions
@@ -114,21 +114,6 @@ function Menu:countdownJump() end end --- Called when selector is deactivated -function Menu:unselectSelector(selector) - local i = 0 - for _,v in pairs(self:getSelectorsActive()) do - if v == selector then - i = _ - break - end - end - if i ~= 0 then - self:assignController(selector:getController()) - selector:clear() - end -end - -- Get table of nauts currently selected by active selectors function Menu:getNauts() local nauts = {} |