mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
fixed starting bat; updated escort options for Strikes
This commit is contained in:
parent
310db66c22
commit
6ec14e744e
@ -69,12 +69,12 @@ class StrikeOperation(Operation):
|
|||||||
self.airgen.generate_ground_attack_strikegroup(*assigned_units_split(planes_flights),
|
self.airgen.generate_ground_attack_strikegroup(*assigned_units_split(planes_flights),
|
||||||
targets=[(mp, pos) for (n, mp, pos) in targets],
|
targets=[(mp, pos) for (n, mp, pos) in targets],
|
||||||
at=self.attackers_starting_position,
|
at=self.attackers_starting_position,
|
||||||
escort=True)
|
escort=len(self.sead) == 0)
|
||||||
|
|
||||||
self.airgen.generate_sead_strikegroup(*assigned_units_split(self.sead),
|
self.airgen.generate_sead_strikegroup(*assigned_units_split(self.sead),
|
||||||
targets=[(mp, pos) for (n, mp, pos) in sead_targets],
|
targets=[(mp, pos) for (n, mp, pos) in sead_targets],
|
||||||
at=self.attackers_starting_position,
|
at=self.attackers_starting_position,
|
||||||
escort=False)
|
escort=len(self.sead) > 0)
|
||||||
|
|
||||||
heli_flights = {k: v for k, v in self.strikegroup.items() if k in helicopters.helicopter_map.values()}
|
heli_flights = {k: v for k, v in self.strikegroup.items() if k in helicopters.helicopter_map.values()}
|
||||||
if heli_flights:
|
if heli_flights:
|
||||||
|
|||||||
@ -48,7 +48,7 @@ def _mk_archieve():
|
|||||||
os.system("pyinstaller.exe pyinstaller.spec")
|
os.system("pyinstaller.exe pyinstaller.spec")
|
||||||
|
|
||||||
archieve = ZipFile(path, "w")
|
archieve = ZipFile(path, "w")
|
||||||
archieve.writestr("dcs_liberation.bat", "cd dist\\dcs_liberation;\nliberation_main \"%UserProfile%\\Saved Games\" \"{}\"".format(VERSION))
|
archieve.writestr("dcs_liberation.bat", "cd dist\\dcs_liberation\r\nliberation_main \"%UserProfile%\\Saved Games\" \"{}\"".format(VERSION))
|
||||||
_zip_dir(archieve, "./dist/dcs_liberation")
|
_zip_dir(archieve, "./dist/dcs_liberation")
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user