mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
number of fixes
This commit is contained in:
@@ -137,7 +137,7 @@ class Base:
|
||||
else:
|
||||
continue
|
||||
|
||||
target_array[unit_type] = target_array[unit_type] - count
|
||||
target_array[unit_type] = max(target_array[unit_type] - count, 0)
|
||||
if target_array[unit_type] == 0:
|
||||
del target_array[unit_type]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user