summaryrefslogtreecommitdiffhomepage
path: root/selector.lua
diff options
context:
space:
mode:
Diffstat (limited to 'selector.lua')
-rw-r--r--selector.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/selector.lua b/selector.lua
index 8d1ef78..81e8d19 100644
--- a/selector.lua
+++ b/selector.lua
@@ -45,6 +45,9 @@ function Selector:clear()
self.naut = 1
self.state = false
end
+function Selector:getSelectionName()
+ return self.parent.nauts[self.naut]
+end
function Selector:controllerPressed(control, controller)
local n = #self.parent.nauts
if control == "left" and not self.state then