From 8973100f95c458e0cfdb5a2f5ff1ac421918d047 Mon Sep 17 00:00:00 2001 From: Raffson Date: Mon, 10 Apr 2023 00:02:14 +0200 Subject: [PATCH] Fix bug preventing mission generation --- game/missiongenerator/flotgenerator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/game/missiongenerator/flotgenerator.py b/game/missiongenerator/flotgenerator.py index 60a0a23b..72dbdc33 100644 --- a/game/missiongenerator/flotgenerator.py +++ b/game/missiongenerator/flotgenerator.py @@ -150,7 +150,7 @@ class FlotGenerator: # If the option fc3LaserCode is enabled, force all JTAC # laser codes to 1113 to allow lasing for Su-25 Frogfoots and A-10A Warthogs. # Otherwise use 1688 for the first JTAC, 1687 for the second etc. - if self.game.settings.plugins["plugins.ctld.fc3LaserCode"]: + if self.game.settings.plugins.get("ctld.fc3LaserCode"): code = 1113 else: code = self.laser_code_registry.get_next_laser_code()