Skip to content

Commit

Permalink
belt-and-suspenders priority for WIIC
Browse files Browse the repository at this point in the history
  • Loading branch information
ajkroeg committed Apr 17, 2021
1 parent b3ef199 commit 96fa6df
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions MapRandomizer/MapRandomizer/source/Patches/MapRandomizer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,8 @@ public static void Postfix(SimGameState __instance, ref bool __result, SimGameSt
}
[HarmonyPatch(typeof(BattleTech.SimGameState), "PrepContract")]
public static class PrepContractPatch{

[HarmonyAfter(new string[] { "blue.winds.WarTechIIC" })]
[HarmonyPriority(Priority.Last)]
public static bool Prefix(SimGameState __instance, Contract contract, FactionValue employer, FactionValue employersAlly, FactionValue target, FactionValue targetsAlly, FactionValue NeutralToAll, FactionValue HostileToAll, Biome.BIOMESKIN skin, int presetSeed, StarSystem system)
{
Expand Down

0 comments on commit 96fa6df

Please sign in to comment.