mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Draw air defense threat/detection ranges.
https://github.com/dcs-liberation/dcs_liberation/issues/2039
This commit is contained in:
@@ -25,7 +25,9 @@ class TgoJs(BaseModel):
|
||||
detection_ranges = []
|
||||
else:
|
||||
threat_ranges = [tgo.threat_range(group).meters for group in tgo.groups]
|
||||
detection_ranges = [tgo.threat_range(group).meters for group in tgo.groups]
|
||||
detection_ranges = [
|
||||
tgo.detection_range(group).meters for group in tgo.groups
|
||||
]
|
||||
return TgoJs(
|
||||
name=tgo.name,
|
||||
control_point_name=tgo.control_point.name,
|
||||
|
||||
Reference in New Issue
Block a user