From b29adf54e26d16ec7f78e9dd865bc1ce807d3f14 Mon Sep 17 00:00:00 2001 From: Aki Date: Fri, 22 Sep 2017 18:04:52 +0200 Subject: Removed obsolete attempts to load portraits atlas --- config/menus/select.lua | 2 -- not/Hero.lua | 1 - 2 files changed, 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 -- cgit v1.1