mirror of
https://github.com/dcs-liberation/dcs_liberation.git
synced 2025-11-10 14:22:26 +00:00
Add performance option to prevent missile tasks.
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/2508.
(cherry picked from commit 6699289bf7)
This commit is contained in:
@@ -315,6 +315,10 @@ class MissileSiteGenerator(GroundObjectGenerator):
|
||||
|
||||
def generate(self) -> None:
|
||||
super(MissileSiteGenerator, self).generate()
|
||||
|
||||
if not self.game.settings.generate_fire_tasks_for_missile_sites:
|
||||
return
|
||||
|
||||
# Note : Only the SCUD missiles group can fire (V1 site cannot fire in game right now)
|
||||
# TODO : Should be pre-planned ?
|
||||
# TODO : Add delay to task to spread fire task over mission duration ?
|
||||
|
||||
Reference in New Issue
Block a user