mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Generate AA & armor to defend airbase. Destruction status correctly tracked.
This commit is contained in:
@@ -21,6 +21,7 @@ class QMapGroundObject(QGraphicsRectItem):
|
||||
if len(self.model.groups) > 0:
|
||||
units = {}
|
||||
for g in self.model.groups:
|
||||
print(g)
|
||||
for u in g.units:
|
||||
if u.type in units.keys():
|
||||
units[u.type] = units[u.type]+1
|
||||
|
||||
Reference in New Issue
Block a user