mirror of
https://github.com/dcs-liberation/dcs_liberation.git
synced 2025-11-10 14:22:26 +00:00
Refactor the sell unit changes as requested.
It works more simply now, and also doesn't immediately sell the unit. Also adds a matching UI dialog popup for selling too many ground units.
This commit is contained in:
@@ -117,7 +117,6 @@ class GroundPlanner:
|
||||
print(key)
|
||||
continue
|
||||
|
||||
self.cp.base.sold_units[key] = 0
|
||||
available = self.cp.base.armor[key]
|
||||
while available > 0:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user