Don't increment cell count for usum on giveall

show cell total for usum
This commit is contained in:
Kurt 2018-06-09 10:07:35 -07:00
parent f351e9550f
commit 7ec7ca312d

View file

@ -43,8 +43,6 @@ namespace PKHeX.WinForms
dgv.Rows[i].Cells[1].Value = locations[i]; dgv.Rows[i].Cells[1].Value = locations[i];
dgv.Rows[i].Cells[2].Value = states[cells[i]]; dgv.Rows[i].Cells[2].Value = states[cells[i]];
} }
if (SAV.USUM)
L_Cells.Visible = NUD_Cells.Visible = false;
} }
private const int cellstotal = 161; private const int cellstotal = 161;
@ -91,6 +89,7 @@ namespace PKHeX.WinForms
} }
NUD_Collected.Value += added; NUD_Collected.Value += added;
if (!SAV.USUM)
NUD_Cells.Value += added; NUD_Cells.Value += added;
System.Media.SystemSounds.Asterisk.Play(); System.Media.SystemSounds.Asterisk.Play();