1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-23 00:20:38 +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
Unverified
parent 9789d1e602
commit c3cb225eef
@@ -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;
}