This commit is contained in:
Anuken
2023-05-19 00:01:36 -04:00
parent 43d164d54b
commit 0f87942b16
2 changed files with 2 additions and 6 deletions

View File

@@ -202,12 +202,6 @@ public class Mods implements Loadable{
continue;
//(horrible code below)
}else if(prefix && !mod.meta.keepOutlines && name.endsWith("-outline") && file.path().contains("units") && !file.path().contains("blocks")){
Log.warn("Sprite '@' in mod '@' is likely to be an unnecessary unit outline. These should not be separate sprites. Ignoring.", name, mod.name);
//TODO !!! document this on the wiki !!!
//do not allow packing standard outline sprites for now, they are no longer necessary and waste space!
//TODO also full regions are bad: || name.endsWith("-full")
continue;
}
//read and bleed pixmaps in parallel

View File

@@ -251,6 +251,8 @@ public class Weapon implements Cloneable{
Draw.color();
}
Draw.xscl = 1f;
if(parts.size > 0){
//TODO does it need an outline?
for(int i = 0; i < parts.size; i++){