mirror of
https://github.com/ppy/osu.git
synced 2026-05-30 15:40:31 +08:00
Fix unknown mod test failure
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user