Heal *all* cores on game start
This commit is contained in:
@@ -185,11 +185,13 @@ public class Logic implements ApplicationListener{
|
||||
}
|
||||
}
|
||||
|
||||
//heal player cores on start - fixes any potential core health increases
|
||||
for(var entity : state.rules.defaultTeam.cores()){
|
||||
//heal all cores on game start
|
||||
for(TeamData team : state.teams.getActive()){
|
||||
for(var entity : team.cores){
|
||||
entity.heal();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public void reset(){
|
||||
State prev = state.getState();
|
||||
|
||||
Reference in New Issue
Block a user