public static void ApplyActiveProfile() { if (activeProfile == null) { return; } activeProfile.Apply(); nextActiveProfile = activeProfile; currentProfile = activeProfile; }
public static void ApplyActiveProfile() { if (activeProfile == null) { return; } activeProfile.Apply(); nextActiveProfile = activeProfile; currentProfile = activeProfile; if (LoadedModManager.RunningModsListForReading.Any(x => x.Name == "[D] Techprinting")) { UpdateTechprinting(); } ResourceCounter.ResetDefs(); DefDatabase <ThingCategoryDef> .ResolveAllReferences(true, false); DefDatabase <RecipeDef> .ResolveAllReferences(true, false); }