summaryrefslogtreecommitdiffhomepage
path: root/config/menus/select.lua
diff options
context:
space:
mode:
Diffstat (limited to 'config/menus/select.lua')
-rw-r--r--config/menus/select.lua7
1 files changed, 5 insertions, 2 deletions
diff --git a/config/menus/select.lua b/config/menus/select.lua
index e759f40..804b4eb 100644
--- a/config/menus/select.lua
+++ b/config/menus/select.lua
@@ -10,15 +10,18 @@ local bx = width/2-29
local naut_selector = selector:new(menu)
local start_button = button:new(menu)
+require "iconsList"
+local nautsIcons, nautsList = getNautsIconsList()
+
return {
naut_selector
:setPosition(width/2,60)
:setMargin(8)
:setSize(32, 32)
- :set("list", require "nautslist")
+ :set("list", nautsList)
:set("global", false)
:set("icons_i", love.graphics.newImage("assets/portraits.png"))
- :set("icons_q", require "nautsicons")
+ :set("icons_q", nautsIcons)
:init()
,
start_button