diff options
author | Aki <nthirtyone@gmail.com> | 2017-09-05 04:01:56 +0200 |
---|---|---|
committer | Aki <nthirtyone@gmail.com> | 2017-09-05 04:01:56 +0200 |
commit | 3cb43876bc41e3074b7235b484f6b2f7622b5eda (patch) | |
tree | b444c4625c066e00f3e6b884729689f6b7729a55 /config/menus | |
parent | 84f6ec47be56d397fe140b5707b76078917fe8fb (diff) | |
download | roflnauts-3cb43876bc41e3074b7235b484f6b2f7622b5eda.zip roflnauts-3cb43876bc41e3074b7235b484f6b2f7622b5eda.tar.gz roflnauts-3cb43876bc41e3074b7235b484f6b2f7622b5eda.tar.bz2 |
Display map name instead of table ref
Diffstat (limited to 'config/menus')
-rw-r--r-- | config/menus/host.lua | 3 |
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") |