Not animate stars over MaxStars

This commit is contained in:
Adonais Romero González
2016-10-09 14:09:07 -05:00
parent 707effb591
commit 841707b61f
2 changed files with 4 additions and 1 deletions

View File

@ -126,6 +126,9 @@ namespace osu.Game.Graphics.UserInterface
protected void transformStar(int i, bool isIncrement)
{
if (i >= MaxStars)
return;
if (Clock == null)
return;