Skip to content
This repository has been archived by the owner on Jul 8, 2023. It is now read-only.

Commit

Permalink
fix loading of spawn block list using tracks hash
Browse files Browse the repository at this point in the history
  • Loading branch information
fauxnik committed Aug 6, 2020
1 parent 4faded5 commit dbdfe3b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion PersistentJobsMod/Main.cs
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,8 @@ static void Prefix(SaveGameManager __instance)
}
}

[HarmonyPatch(typeof(SaveGameManager), "Load")]
// patch CarsSaveManager.Load to ensure CarsSaveManager.TracksHash exists
[HarmonyPatch(typeof(CarsSaveManager), "Load")]
class SaveGameManager_Load_Patch
{
static void Postfix(SaveGameManager __instance)
Expand Down

0 comments on commit dbdfe3b

Please sign in to comment.