From e8929467e0af2c7451c47abf3d56813bee93b405 Mon Sep 17 00:00:00 2001 From: Raffson Date: Sat, 23 Sep 2023 19:38:48 +0200 Subject: [PATCH] Consolidate capture radius --- game/theater/controlpoint.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/game/theater/controlpoint.py b/game/theater/controlpoint.py index b49655ea..30d2829e 100644 --- a/game/theater/controlpoint.py +++ b/game/theater/controlpoint.py @@ -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.