diff --git a/core/src/mindustry/core/Logic.java b/core/src/mindustry/core/Logic.java index 981fa4a506..169ffcc2b9 100644 --- a/core/src/mindustry/core/Logic.java +++ b/core/src/mindustry/core/Logic.java @@ -185,9 +185,11 @@ public class Logic implements ApplicationListener{ } } - //heal player cores on start - fixes any potential core health increases - for(var entity : state.rules.defaultTeam.cores()){ - entity.heal(); + //heal all cores on game start + for(TeamData team : state.teams.getActive()){ + for(var entity : team.cores){ + entity.heal(); + } } }