Use Items.Count rather than hardcoding

This commit is contained in:
CodingKoopa
2020-09-16 18:16:13 -04:00
parent 757c2e8b54
commit 302f097cbc

View File

@@ -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)