Skip to content

Commit

Permalink
Post-merge fix
Browse files Browse the repository at this point in the history
  • Loading branch information
IhateTrains committed Oct 26, 2024
1 parent d09a420 commit 81a5e71
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ImperatorToCK3/CK3/World.cs
Original file line number Diff line number Diff line change
Expand Up @@ -384,12 +384,13 @@ public World(Imperator.World impWorld, Configuration config, Thread? irCoaExtrac
}
Logger.IncrementProgress();

var modifierMapper = new ModifierMapper("configurables/holy_site_effect_mappings.txt");

Parallel.Invoke(
() => ImportImperatorWars(impWorld, config.CK3BookmarkDate),

() => {
var holySiteEffectMapper = new HolySiteEffectMapper("configurables/holy_site_effect_mappings.txt");
Religions.DetermineHolySites(Provinces, impWorld.Religions, holySiteEffectMapper, config.CK3BookmarkDate);
Religions.DetermineHolySites(Provinces, impWorld.Religions, modifierMapper, config.CK3BookmarkDate);
Religions.GenerateMissingReligiousHeads(LandedTitles, Characters, Provinces, Cultures, config.CK3BookmarkDate);
Logger.IncrementProgress();
Expand Down

0 comments on commit 81a5e71

Please sign in to comment.