1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-15 15:53:21 +08:00

Fix idle and stopping -> stopped state.

This commit is contained in:
smoogipooo 2017-03-03 18:45:04 +09:00
parent 2a49200008
commit 54993b874f

View File

@ -214,6 +214,9 @@ namespace osu.Game.Screens.Tournament
if (availableTeams.Count == 0) if (availableTeams.Count == 0)
return; return;
if (scrollState == ScrollState.Stopped)
return;
scrollState = ScrollState.Stopping; scrollState = ScrollState.Stopping;
} }
@ -295,6 +298,7 @@ namespace osu.Game.Screens.Tournament
enum ScrollState enum ScrollState
{ {
None,
Idle, Idle,
Stopping, Stopping,
Stopped, Stopped,