summaryrefslogtreecommitdiffhomepage
path: root/menu.lua
diff options
context:
space:
mode:
authorAki <nthirtyone@gmail.com>2016-08-14 23:15:20 +0200
committerAki <nthirtyone@gmail.com>2016-08-14 23:15:20 +0200
commitb157604e385daa13e796acab80bcc6987ae5a555 (patch)
tree0727a25f06d7f79f4da6d6540eb4446fdfb5817a /menu.lua
parent22c36dfaac394ef8148d50a95c862e937b4e908a (diff)
downloadroflnauts-b157604e385daa13e796acab80bcc6987ae5a555.zip
roflnauts-b157604e385daa13e796acab80bcc6987ae5a555.tar.gz
roflnauts-b157604e385daa13e796acab80bcc6987ae5a555.tar.bz2
Callbacks to selector
Diffstat (limited to 'menu.lua')
-rw-r--r--menu.lua15
1 files changed, 0 insertions, 15 deletions
diff --git a/menu.lua b/menu.lua
index cfce246..28776f8 100644
--- a/menu.lua
+++ b/menu.lua
@@ -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 = {}