mirror of
https://github.com/ppy/osu.git
synced 2025-03-16 00:37:19 +08:00
Better safe than sorry
This commit is contained in:
parent
15c6a563be
commit
2c06764b79
@ -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
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user