mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Fix bug preventing mission generation
This commit is contained in:
parent
13c1f429b1
commit
8973100f95
@ -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()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user