static void Postfix(SimGameState __instance, SimGameState.SimGameType gameType, bool allowDebug) //we're doing a new campaign, so we need to sync the json with the new addition { try { Holder.SyncNewCampaign(); } catch { // TODO: should do something here if the holder reports an error return; } }
static void Postfix(SimGameState __instance) //we're doing a new campaign, so we need to sync the json with the new addition { Holder.SyncNewCampaign(); }