summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--config/menus/host.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/menus/host.lua b/config/menus/host.lua
index 5595f8b..6861d91 100644
--- a/config/menus/host.lua
+++ b/config/menus/host.lua
@@ -37,6 +37,9 @@ return {
:set("shape", Selector.SHAPE_PANORAMA)
:set("icons_quads", icons)
:set("icons_atlas", love.graphics.newImage("assets/maps.png"))
+ :set("getText", function (self)
+ return self:getSelected().name
+ end)
,
Button(menu)
:setText("Next")