mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 11:22:57 +08:00
no longer crash if the restart sample isn't found
This commit is contained in:
parent
e8db2cfd6d
commit
6fd8548f79
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user