mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Now will not call CarrierMap:new() when game.settings.pretense_controllable_carrier is disabled.
This commit is contained in:
parent
64b1410de8
commit
0a7b885626
@ -1509,7 +1509,9 @@ class PretenseLuaGenerator(LuaGenerator):
|
||||
)
|
||||
|
||||
lua_string_zones = ""
|
||||
lua_string_carriers = self.generate_pretense_carrier_zones()
|
||||
lua_string_carriers = ""
|
||||
if self.game.settings.pretense_controllable_carrier:
|
||||
lua_string_carriers += self.generate_pretense_carrier_zones()
|
||||
|
||||
for cp in self.game.theater.controlpoints:
|
||||
cp_name_trimmed = "".join([i for i in cp.name.lower() if i.isalpha()])
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user