nigative win/loss

This commit is contained in:
HeshamTB 2018-09-20 11:33:26 +03:00
parent 500f9c5852
commit fae9d2f50c

View File

@ -146,14 +146,20 @@ namespace OWTrack
private void reduceWinBut_Click(object sender, EventArgs e) private void reduceWinBut_Click(object sender, EventArgs e)
{ {
tr.reduceWin(); if (tr.wins > 0)
update(); {
tr.reduceWin();
update();
}
} }
private void reduceLossBut_Click(object sender, EventArgs e) private void reduceLossBut_Click(object sender, EventArgs e)
{ {
tr.rediceLoss(); if (tr.losses > 0)
update(); {
tr.rediceLoss();
update();
}
} }
private void clearBut_Click(object sender, EventArgs e) private void clearBut_Click(object sender, EventArgs e)