Consolidate capture radius

This commit is contained in:
Raffson 2023-09-23 19:38:48 +02:00
parent 234dc52c7e
commit e8929467e0
No known key found for this signature in database
GPG Key ID: B0402B2C9B764D99

View File

@ -360,7 +360,7 @@ class ParkingType:
class ControlPoint(MissionTarget, SidcDescribable, ABC):
# Not sure what distance DCS uses, but assuming it's about 2NM since that's roughly
# the distance of the circle on the map.
CAPTURE_DISTANCE = nautical_miles(2)
CAPTURE_DISTANCE = meters(TRIGGER_RADIUS_CAPTURE)
# TODO: Only airbases have IDs.
# TODO: cptype is obsolete.