WIP team icons
This commit is contained in:
@@ -1072,9 +1072,10 @@ abstract class BuildingComp implements Posc, Teamc, Healthc, Buildingc, Timerc,
|
||||
}
|
||||
|
||||
public String getDisplayName(){
|
||||
//derelict team icon currently doesn't display
|
||||
return team == Team.derelict ?
|
||||
block.localizedName + "\n" + Core.bundle.get("block.derelict"):
|
||||
block.localizedName;
|
||||
block.localizedName + "\n" + Core.bundle.get("block.derelict") :
|
||||
block.localizedName + (team == player.team() || team.emoji.isEmpty() ? "" : " " + team.emoji);
|
||||
}
|
||||
|
||||
public TextureRegion getDisplayIcon(){
|
||||
|
||||
Reference in New Issue
Block a user