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:
parent
2e98ecf09a
commit
a9c0beee61
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user