Fix unknown mod test failure

This commit is contained in:
Bartłomiej Dach 2023-11-02 23:44:40 +01:00
parent 8e9006b5d5
commit a613292802
No known key found for this signature in database

View File

@ -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());
}