Drop single bombs on statics again

This commit is contained in:
Raffson 2024-03-10 22:55:00 +01:00
parent 0b40f872bf
commit 19daa1737e
No known key found for this signature in database
GPG Key ID: B0402B2C9B764D99

View File

@ -67,8 +67,6 @@ class StrikeIngressBuilder(PydcsWaypointBuilder):
# If there is only one target, drop all ordnance in one pass.
if len(self.waypoint.targets) == 1:
bombing.params["expend"] = Expend.All.value
elif target.is_static:
bombing.params["expend"] = Expend.Half.value
waypoint.tasks.append(bombing)
waypoint.speed = mach(0.85, meters(waypoint.alt)).meters_per_second