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()