1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-16 04:57:19 +08:00

Better safe than sorry

This commit is contained in:
Adonais Romero González 2016-10-16 17:10:08 -05:00
parent 15c6a563be
commit 2c06764b79

View File

@ -97,14 +97,15 @@ namespace osu.Game.GameModes.Play.Osu
protected override void OnCountIncrement(ulong currentValue, ulong newValue) protected override void OnCountIncrement(ulong currentValue, ulong newValue)
{ {
while (DisplayedCount != currentValue) ScheduledPopOutCurrentId++;
if (DisplayedCount < currentValue)
DisplayedCount++; DisplayedCount++;
DisplayedCountSpriteText.Show(); DisplayedCountSpriteText.Show();
transformPopOut(newValue); transformPopOut(newValue);
ScheduledPopOutCurrentId++;
uint newTaskId = ScheduledPopOutCurrentId; uint newTaskId = ScheduledPopOutCurrentId;
Scheduler.AddDelayed(delegate Scheduler.AddDelayed(delegate
{ {