mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 16:59:53 +09:00
Remove null checks on ruleset
Add a default ruleset to `OsuTestCase` to cover testing scenarios.
This commit is contained in:
@ -84,11 +84,8 @@ namespace osu.Game.Screens
|
||||
[BackgroundDependencyLoader(true)]
|
||||
private void load(BindableBeatmap beatmap, OsuGame osu, AudioManager audio, Bindable<RulesetInfo> ruleset)
|
||||
{
|
||||
if (beatmap != null)
|
||||
Beatmap.BindTo(beatmap);
|
||||
|
||||
if (ruleset != null)
|
||||
Ruleset.BindTo(ruleset);
|
||||
Beatmap.BindTo(beatmap);
|
||||
Ruleset.BindTo(ruleset);
|
||||
|
||||
if (osu != null)
|
||||
{
|
||||
|
Reference in New Issue
Block a user