all bar strings are formatted

This commit is contained in:
Sharlotte
2021-07-25 15:11:50 +09:00
parent 5f363eb44d
commit cc5dbec832
4 changed files with 26 additions and 22 deletions

View File

@@ -491,7 +491,7 @@ public class HudUi {
add(new Table(temp -> temp.add(new Image(){{
update(()->{
TextureRegion region = atlas.find("clear");
if(getTarget() instanceof Unit && !((Unit) getTarget()).dead) region = Icon.defenseSmall.getRegion();
if(getTarget() instanceof Unit) region = Icon.defenseSmall.getRegion();
setDrawable(region);
});
}}.setScaling(Scaling.fit))));