Heal *all* cores on game start
This commit is contained in:
@@ -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();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user