Fix off by one error in GoalCounter

This commit is contained in:
Shaun Bennett 2016-04-26 16:20:14 +10:00
parent 714000163b
commit 41e2ea6490

View File

@ -78,7 +78,7 @@ public class GoalCounter extends Counter
*/ */
private void update() private void update()
{ {
boolean updatedValue = getCount() > _goal; boolean updatedValue = getCount() >= _goal;
if (updatedValue != _completed) if (updatedValue != _completed)
{ {