From 95c3476144fe5d03fed868d6294ca12cd6eda3b4 Mon Sep 17 00:00:00 2001 From: Anuken Date: Tue, 14 Sep 2021 21:28:34 -0400 Subject: [PATCH] Fixed #6001 --- build.gradle | 2 +- core/src/mindustry/entities/comp/PlayerComp.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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(); }