diff --git a/build.gradle b/build.gradle index e2f6b589c4..30e0ce32cb 100644 --- a/build.gradle +++ b/build.gradle @@ -267,7 +267,7 @@ project(":ios"){ props.load(new FileInputStream(vfile)) }else{ props['app.id'] = 'io.anuke.mindustry' - props['app.version'] = '6.0' + props['app.version'] = '7.0' props['app.mainclass'] = 'mindustry.IOSLauncher' props['app.executable'] = 'IOSLauncher' props['app.name'] = 'Mindustry' diff --git a/core/src/mindustry/entities/comp/PlayerComp.java b/core/src/mindustry/entities/comp/PlayerComp.java index 07a80b1e30..d1b3d3da0d 100644 --- a/core/src/mindustry/entities/comp/PlayerComp.java +++ b/core/src/mindustry/entities/comp/PlayerComp.java @@ -68,7 +68,7 @@ abstract class PlayerComp implements UnitController, Entityc, Syncc, Timerc, Dra public TextureRegion icon(){ //display default icon for dead players - if(dead()) return core() == null ? UnitTypes.alpha.fullIcon : ((CoreBlock)core().block).unitType.fullIcon; + if(dead()) return core() == null ? UnitTypes.alpha.fullIcon : ((CoreBlock)bestCore().block).unitType.fullIcon; return unit.icon(); }