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:
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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user