diff --git a/gen/locations/preset_location_finder.py b/gen/locations/preset_location_finder.py index d7977efa..41386d90 100644 --- a/gen/locations/preset_location_finder.py +++ b/gen/locations/preset_location_finder.py @@ -1,7 +1,7 @@ from pathlib import Path from typing import List -from dcs import Mission +from dcs import Mission, ships from dcs.vehicles import MissilesSS from gen.locations.preset_control_point_locations import PresetControlPointLocations @@ -37,7 +37,7 @@ class PresetLocationFinder: vehicle_group.name)) for ship_group in m.country("USA").ship_group: - if len(ship_group.units) > 0: + if len(ship_group.units) > 0 and ship_group.units[0].type == ships.Oliver_Hazzard_Perry_class.id: offshore_locations.append(PresetLocation(ship_group.position, ship_group.units[0].heading, ship_group.name)) diff --git a/resources/mizdata/thechannel/Abbeville Drucat.miz b/resources/mizdata/thechannel/Abbeville Drucat.miz new file mode 100644 index 00000000..aa609d0d Binary files /dev/null and b/resources/mizdata/thechannel/Abbeville Drucat.miz differ diff --git a/resources/mizdata/thechannel/Detling.miz b/resources/mizdata/thechannel/Detling.miz index 40109dc6..d4cecfbb 100644 Binary files a/resources/mizdata/thechannel/Detling.miz and b/resources/mizdata/thechannel/Detling.miz differ diff --git a/resources/mizdata/thechannel/Dunkirk Mardyck.miz b/resources/mizdata/thechannel/Dunkirk Mardyck.miz index b99bf1f1..1c86c3fc 100644 Binary files a/resources/mizdata/thechannel/Dunkirk Mardyck.miz and b/resources/mizdata/thechannel/Dunkirk Mardyck.miz differ diff --git a/resources/mizdata/thechannel/Hawkinge.miz b/resources/mizdata/thechannel/Hawkinge.miz index 6116d7e9..29981845 100644 Binary files a/resources/mizdata/thechannel/Hawkinge.miz and b/resources/mizdata/thechannel/Hawkinge.miz differ diff --git a/resources/mizdata/thechannel/Lympne.miz b/resources/mizdata/thechannel/Lympne.miz index 72970685..58e55610 100644 Binary files a/resources/mizdata/thechannel/Lympne.miz and b/resources/mizdata/thechannel/Lympne.miz differ diff --git a/resources/mizdata/thechannel/Manston.miz b/resources/mizdata/thechannel/Manston.miz index 9c88bb87..ea7b9fda 100644 Binary files a/resources/mizdata/thechannel/Manston.miz and b/resources/mizdata/thechannel/Manston.miz differ diff --git a/resources/mizdata/thechannel/Merville Calonne.miz b/resources/mizdata/thechannel/Merville Calonne.miz new file mode 100644 index 00000000..e0be3b8a Binary files /dev/null and b/resources/mizdata/thechannel/Merville Calonne.miz differ diff --git a/resources/mizdata/thechannel/Saint Omer Longuenesse.miz b/resources/mizdata/thechannel/Saint Omer Longuenesse.miz new file mode 100644 index 00000000..7b3daa77 Binary files /dev/null and b/resources/mizdata/thechannel/Saint Omer Longuenesse.miz differ