diff --git a/pk3DS/Subforms/Gen7/PersonalEditor7.cs b/pk3DS/Subforms/Gen7/PersonalEditor7.cs index 3b9c4db..e126f66 100644 --- a/pk3DS/Subforms/Gen7/PersonalEditor7.cs +++ b/pk3DS/Subforms/Gen7/PersonalEditor7.cs @@ -385,7 +385,7 @@ private void B_ModifyAll(object sender, EventArgs e) } if (CHK_FullTMCompatibility.Checked) - for (int t = 0; t < 100; t++) + for (int t = 0; t < CLB_TM.Items.Count; t++) CLB_TM.SetItemCheckState(t, CheckState.Checked); if (CHK_QuickHatch.Checked)