bigger ranger for interceptions; bigger triggers in CPs in close proximity; a10c fixes; same spawn position for aircraft fixed

This commit is contained in:
Vasyl Horbachenko
2018-06-28 05:40:12 +03:00
parent 2222c6a14c
commit 2323f481c5
10 changed files with 28 additions and 21 deletions

View File

@@ -80,6 +80,8 @@ class BaseMenu(Menu):
price = db.PRICES[unit_type]
self.game.budget += price
self.event.units[unit_type] = self.event.units[unit_type] - 1
if self.event.units[unit_type] == 0:
del self.event.units[unit_type]
elif self.base.total_units_of_type(unit_type) > 0:
price = db.PRICES[unit_type]
self.game.budget += price