mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-02-11 11:17:11 +07:00
Heal player cores on start
This commit is contained in:
parent
6e05319424
commit
2f2dc01c6b
@ -184,6 +184,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();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public void reset(){
|
public void reset(){
|
||||||
|
Loading…
Reference in New Issue
Block a user