moved into the switch case

This commit is contained in:
V1ntagezTV 2019-09-29 00:35:47 +05:00
parent 2681e2064a
commit 9f1c378733

View File

@ -60,10 +60,10 @@ namespace osu.Game.Screens
private IntroScreen getIntroSequence() private IntroScreen getIntroSequence()
{ {
Random random = new Random();
switch (introSequence) switch (introSequence)
{ {
case IntroSequence.Random: case IntroSequence.Random:
var random = new Random();
if (random.Next(2) == 0) if (random.Next(2) == 0)
return new IntroCircles(); return new IntroCircles();
else else