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]
|
||||
|
||||
|
||||
@@ -20,6 +20,7 @@ COAST_HORIZONTAL = [315, 0, 45, ]
|
||||
|
||||
|
||||
class ConflictTheater:
|
||||
terrain = None # type: dcs.terrain.Terrain
|
||||
controlpoints = None # type: typing.Collection[ControlPoint]
|
||||
reference_points = None # type: typing.Dict
|
||||
|
||||
|
||||
Reference in New Issue
Block a user