mirror of
https://github.com/osukey/osukey.git
synced 2025-05-18 20:17:23 +09:00
Merge pull request #11706 from smoogipoo/fix-failing-test
Fix failing test
This commit is contained in:
commit
2cac373365
@ -174,7 +174,7 @@ namespace osu.Game.Screens.Play
|
|||||||
}
|
}
|
||||||
|
|
||||||
[BackgroundDependencyLoader(true)]
|
[BackgroundDependencyLoader(true)]
|
||||||
private void load(AudioManager audio, OsuConfigManager config, OsuGame game)
|
private void load(AudioManager audio, OsuConfigManager config, OsuGameBase game)
|
||||||
{
|
{
|
||||||
Mods.Value = base.Mods.Value.Select(m => m.CreateCopy()).ToArray();
|
Mods.Value = base.Mods.Value.Select(m => m.CreateCopy()).ToArray();
|
||||||
|
|
||||||
@ -191,10 +191,10 @@ namespace osu.Game.Screens.Play
|
|||||||
mouseWheelDisabled = config.GetBindable<bool>(OsuSetting.MouseDisableWheel);
|
mouseWheelDisabled = config.GetBindable<bool>(OsuSetting.MouseDisableWheel);
|
||||||
|
|
||||||
if (game != null)
|
if (game != null)
|
||||||
{
|
|
||||||
LocalUserPlaying.BindTo(game.LocalUserPlaying);
|
|
||||||
gameActive.BindTo(game.IsActive);
|
gameActive.BindTo(game.IsActive);
|
||||||
}
|
|
||||||
|
if (game is OsuGame osuGame)
|
||||||
|
LocalUserPlaying.BindTo(osuGame.LocalUserPlaying);
|
||||||
|
|
||||||
DrawableRuleset = ruleset.CreateDrawableRulesetWith(playableBeatmap, Mods.Value);
|
DrawableRuleset = ruleset.CreateDrawableRulesetWith(playableBeatmap, Mods.Value);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user