Fix incorrect strike target location for TheaterUnit

This commit is contained in:
Raffson 2024-09-14 16:37:10 +02:00
parent 8a47dce4b5
commit 7e8cbe0de2
No known key found for this signature in database
GPG Key ID: B0402B2C9B764D99

View File

@ -329,7 +329,7 @@ class WaypointBuilder:
target.name,
FlightWaypointType.TARGET_POINT,
target.target.ground_object.position
if isinstance(target.target, (TheaterGroup, TheaterUnit))
if isinstance(target.target, TheaterGroup)
else target.target.position,
meters(0),
"RADIO",