Budget amount per turn, now depends on factory owned and such

This commit is contained in:
Khopa
2020-05-24 21:30:05 +02:00
parent 989d25e2e2
commit 4e4a7fe84e
3 changed files with 14 additions and 12 deletions

View File

@@ -42,7 +42,7 @@ class QMapGroundObject(QGraphicsRectItem):
if not self.model.is_dead and not self.cp.captured:
painter.drawPixmap(option.rect, CONST.ICONS[self.model.category])
elif not self.model.is_dead and self.model.category == "aa":
painter.drawPixmap(option.rect, CONST.ICONS["aa_blue"])
painter.drawPixmap(option.rect, CONST.ICONS[self.model.category + "_blue"])
else:
painter.drawPixmap(option.rect, CONST.ICONS["cleared"])
painter.drawPixmap(option.rect, CONST.ICONS["destroyed"])
painter.restore()