summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--config/menus/select.lua2
-rw-r--r--not/Hero.lua1
2 files changed, 0 insertions, 3 deletions
diff --git a/config/menus/select.lua b/config/menus/select.lua
index fb99780..a803295 100644
--- a/config/menus/select.lua
+++ b/config/menus/select.lua
@@ -17,7 +17,6 @@ end
-- TODO: Clean-up menus/select, menus/host and Hero after portraits split.
local group, get
do
- local atlas = love.graphics.newImage("assets/portraits.png")
local nauts, icons = {}, {}
local files = love.filesystem.getDirectoryItems("config/nauts")
for _,filename in pairs(files) do
@@ -58,7 +57,6 @@ do
for i,_ in pairs(Controller.getSets()) do
group:addChild(Selector(nauts, group, menu))
- :set("icons_atlas", atlas)
:set("icons", icons)
:set("attack", attack)
:set("getText", function (self)
diff --git a/not/Hero.lua b/not/Hero.lua
index 30092bc..fc5d840 100644
--- a/not/Hero.lua
+++ b/not/Hero.lua
@@ -57,7 +57,6 @@ end
-- TODO: This is temporarily called by constructor.
function Hero.load ()
if Hero.IMAGE_PORTRAITS == nil then
- Hero.IMAGE_PORTRAITS = love.graphics.newImage("assets/portraits.png")
Hero.IMAGE_FRAME = love.graphics.newImage("assets/menu.png")
end
end