Heal *all* cores on game start

This commit is contained in:
Anuken
2021-06-05 10:01:15 -04:00
parent f87054c667
commit c80f2d6cf4

View File

@@ -185,9 +185,11 @@ public class Logic implements ApplicationListener{
} }
} }
//heal player cores on start - fixes any potential core health increases //heal all cores on game start
for(var entity : state.rules.defaultTeam.cores()){ for(TeamData team : state.teams.getActive()){
entity.heal(); for(var entity : team.cores){
entity.heal();
}
} }
} }