From b157604e385daa13e796acab80bcc6987ae5a555 Mon Sep 17 00:00:00 2001 From: Aki Date: Sun, 14 Aug 2016 23:15:20 +0200 Subject: Callbacks to selector --- menu.lua | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'menu.lua') 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 = {} -- cgit v1.1