F-16I mod v2.2 support (by IDF Mods Project) (#9)

This commit is contained in:
MetalStormGhost
2022-10-29 18:12:50 +03:00
committed by GitHub
parent 7a5e878733
commit b64a0f17eb
49 changed files with 7769 additions and 9 deletions

View File

@@ -232,6 +232,10 @@ class Game:
LuaPluginManager.load_settings(self.settings)
ObjectiveDistanceCache.set_theater(self.theater)
self.compute_unculled_zones(GameUpdateEvents())
# Apply mod settings again so mod properties get injected again,
# in case mods like CJS F/A-18E/F/G or IDF F-16I are selected by the player
self.blue.faction.apply_mod_settings()
self.red.faction.apply_mod_settings()
if not game_still_initializing:
# We don't need to push events that happen during load. The UI will fully
# reset when we're done.