number of fixes and improvements to mission generation & debriefings

This commit is contained in:
Vasyl Horbachenko
2018-06-15 04:34:38 +03:00
parent a4dfde157d
commit d78b2dd238
12 changed files with 175 additions and 74 deletions

View File

@@ -72,6 +72,11 @@ class Debriefing:
enemy.name: calculate_losses(enemy_units, self.alive_units.get(enemy.id, {})),
}
self.alive_units = {
player.name: self.alive_units.get(player.id, {}),
enemy.name: self.alive_units.get(enemy.id, {}),
}
def debriefing_directory_location() -> str:
return "build/debriefing"