1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-24 15:01:46 +08:00

no longer crash if the restart sample isn't found

This commit is contained in:
BananeVolante
2020-06-13 10:13:41 +02:00
Unverified
parent e8db2cfd6d
commit 6fd8548f79
+1 -1
View File
@@ -165,7 +165,7 @@ namespace osu.Game.Screens.Play
sampleRestart = audio.Samples.Get(@"Gameplay/restart");
samplePause = audio.Samples.Get(@"Gameplay/pause-loop");
samplePause.Looping = true;
if(samplePause != null) { samplePause.Looping = true; }
mouseWheelDisabled = config.GetBindable<bool>(OsuSetting.MouseDisableWheel);