Core launch cost

This commit is contained in:
Anuken
2020-06-22 21:02:53 -04:00
parent 58d8e22b40
commit 7dfd20d020
8 changed files with 157 additions and 151 deletions

View File

@@ -629,11 +629,7 @@ public class Block extends UnlockableContent{
//load specific team regions
teamRegions = new TextureRegion[Team.all.length];
for(Team team : Team.all){
if(team.hasPalette){
teamRegions[team.uid] = Core.atlas.find(name + "-team-" + team.name);
}else{
teamRegions[team.uid] = teamRegion;
}
teamRegions[team.uid] = teamRegion.found() ? Core.atlas.find(name + "-team-" + team.name, teamRegion) : teamRegion;
}
}