1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-23 08:27:23 +08:00

Fix being able to stop rotation when it isn't started.

This commit is contained in:
Dean Herbert 2017-03-03 20:07:57 +09:00
parent 9789d1e602
commit c3cb225eef
No known key found for this signature in database
GPG Key ID: 46D71BF4958ABB49

View File

@ -214,8 +214,12 @@ namespace osu.Game.Screens.Tournament
if (availableTeams.Count == 0)
return;
if (scrollState == ScrollState.Stopped)
return;
switch (scrollState)
{
case ScrollState.Stopped:
case ScrollState.Idle:
return;
}
scrollState = ScrollState.Stopping;
}