Fix external views not allowing F5 view

This commit is contained in:
Raffson 2023-10-14 16:02:39 +02:00
parent 3b319ca481
commit 7a3c9a707f
No known key found for this signature in database
GPG Key ID: B0402B2C9B764D99
2 changed files with 1 additions and 1 deletions

View File

@ -64,6 +64,7 @@ class MissionGenerator:
options = dcs.lua.loads(f.read())["options"]
ext_view = game.settings.external_views_allowed
options["miscellaneous"]["f11_free_camera"] = ext_view
options["miscellaneous"]["f5_nearest_ac"] = ext_view
options["difficulty"]["spectatorExternalViews"] = ext_view
self.mission.options.load_from_dict(options)

View File

@ -156,7 +156,6 @@ class Settings:
MISSION_RESTRICTIONS_SECTION,
default=True,
)
easy_communication: Optional[bool] = choices_option(
"Easy Communication",
page=DIFFICULTY_PAGE,