Misc balance / Fixed unobtainable achievement

This commit is contained in:
Anuken
2022-10-25 21:54:28 -04:00
parent ac32b0a1e0
commit ac44ef5b96
7 changed files with 20 additions and 9 deletions

View File

@@ -113,6 +113,12 @@ public class GameService{
captureAllSectors.complete();
}
Events.run(Trigger.unitCommandAttack, () -> {
if(campaign()){
issueAttackCommand.complete();
}
});
Events.on(UnitDestroyEvent.class, e -> {
if(campaign()){
if(e.unit.team != Vars.player.team()){