Skip to content

Commit

Permalink
Merge pull request #8 from Boraida/patch-1
Browse files Browse the repository at this point in the history
Update AnimatedBar.cs
  • Loading branch information
ovflowd committed Dec 14, 2015
2 parents d4aa9ef + 1fa9557 commit 678715d
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions Yupi/Core/Io/AnimatedBar.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,8 @@ public AnimatedBar()
/// </summary>
public override void Step()
{
System.Console.Write("{0}\b", _animation[_counter]);
System.Console.Write("{0}\b", _animation[_counter % _animation.Count]);
_counter++;

if (_counter == _animation.Count)
_counter = 0;
}
}
}
}

0 comments on commit 678715d

Please sign in to comment.