From 3cb43876bc41e3074b7235b484f6b2f7622b5eda Mon Sep 17 00:00:00 2001 From: Aki Date: Tue, 5 Sep 2017 04:01:56 +0200 Subject: Display map name instead of table ref --- config/menus/host.lua | 3 +++ 1 file changed, 3 insertions(+) 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") -- cgit v1.1