From bad3e12962e2c7040090ec678d3ed6cfd5586288 Mon Sep 17 00:00:00 2001 From: Aki Date: Fri, 22 Sep 2017 19:57:23 +0200 Subject: Allow all nauts to be selected in debug mode --- config/menus/select.lua | 2 +- config/nauts/joystick.lua | 2 +- config/nauts/swarm.lua | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config/menus/select.lua b/config/menus/select.lua index 6dc9d01..d101472 100644 --- a/config/menus/select.lua +++ b/config/menus/select.lua @@ -34,7 +34,7 @@ end -- TODO: Clean-up menus/select, menus/host and Hero after portraits split. local group, get do - local nauts, icons = loadConfigs("config/nauts", function (naut) return naut.available end) + local nauts, icons = loadConfigs("config/nauts", function (naut) return naut.available or debug end) -- TODO: Find a better way to add empty and random entries to naut Selector. table.insert(icons, 1, false) diff --git a/config/nauts/joystick.lua b/config/nauts/joystick.lua index 44e8adb..97aeb6d 100644 --- a/config/nauts/joystick.lua +++ b/config/nauts/joystick.lua @@ -3,6 +3,6 @@ return { name = "joystick", image = "assets/nauts/joystick.png", - portrait = 38, + portrait = "assets/portraits/joystick.png", available = false } diff --git a/config/nauts/swarm.lua b/config/nauts/swarm.lua index 575478b..09a9540 100644 --- a/config/nauts/swarm.lua +++ b/config/nauts/swarm.lua @@ -3,6 +3,6 @@ return { name = "swarm", image = "assets/nauts/swarm.png", - portrait = 36, + portrait = "assets/portraits/swarm.png", available = false } -- cgit v1.1