mirror of
https://github.com/ppy/osu
synced 2025-01-05 13:50:03 +00:00
Fix unknown mod test failure
This commit is contained in:
parent
8e9006b5d5
commit
a613292802
@ -47,6 +47,12 @@ namespace osu.Game.Screens.Play
|
||||
[BackgroundDependencyLoader]
|
||||
private void load()
|
||||
{
|
||||
if (DrawableRuleset == null)
|
||||
{
|
||||
// base load must have failed (e.g. due to an unknown mod); bail.
|
||||
return;
|
||||
}
|
||||
|
||||
AddInternal(new PlayerTouchInputHandler());
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user