internal static void Pre_v0_9_4() { if (WorkSettings.AllowedWorkTypes.Contains(WorkTypeDefOf.Warden)) { WorkSettings.AllowedWorkTypes.Remove(WorkTypeDefOf.Warden); } if (WorkSettings.AllowedWorkTypes.Contains(PL_DefOf.PrisonLabor_Jailor)) { WorkSettings.AllowedWorkTypes.Remove(PL_DefOf.PrisonLabor_Jailor); } WorkSettings.Apply(); PrisonLaborPrefs.Save(); }