1
0
mirror of https://github.com/Anuken/Mindustry.git synced 2024-10-06 21:07:25 +03:00

Missile stat value display

This commit is contained in:
Anuken 2022-07-01 12:36:54 -04:00
parent 2e98ecf09a
commit a9c0beee61

View File

@ -315,6 +315,11 @@ public class StatValues{
BulletType type = map.get(t);
if(type.spawnUnit != null && type.spawnUnit.weapons.size > 0){
ammo(ObjectMap.of(t, type.spawnUnit.weapons.first().bullet), indent).display(table);
return;
}
//no point in displaying unit icon twice
if(!compact && !(t instanceof PowerTurret)){
table.image(icon(t)).size(3 * 8).padRight(4).right().top();