Fix off by one error in GoalCounter
This commit is contained in:
parent
714000163b
commit
41e2ea6490
@ -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)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user