From fcf6d047910f4e38f5fc87dd6381d4f0f0c5cbfb Mon Sep 17 00:00:00 2001 From: Dan Balasescu Date: Wed, 22 Oct 2025 15:26:41 +0900 Subject: [PATCH] Download using preferred video mode --- .../OnlinePlay/Matchmaking/Match/ScreenMatchmaking.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/osu.Game/Screens/OnlinePlay/Matchmaking/Match/ScreenMatchmaking.cs b/osu.Game/Screens/OnlinePlay/Matchmaking/Match/ScreenMatchmaking.cs index 8be9458b5d..a728e44585 100644 --- a/osu.Game/Screens/OnlinePlay/Matchmaking/Match/ScreenMatchmaking.cs +++ b/osu.Game/Screens/OnlinePlay/Matchmaking/Match/ScreenMatchmaking.cs @@ -17,6 +17,7 @@ using osu.Framework.Input.Events; using osu.Framework.Logging; using osu.Framework.Screens; using osu.Game.Beatmaps; +using osu.Game.Configuration; using osu.Game.Database; using osu.Game.Graphics.Cursor; using osu.Game.Online; @@ -75,6 +76,9 @@ namespace osu.Game.Screens.OnlinePlay.Matchmaking.Match [Resolved] private AudioManager audio { get; set; } = null!; + [Resolved] + private OsuConfigManager config { get; set; } = null!; + private readonly MultiplayerRoom room; private Sample? sampleStart; @@ -290,7 +294,7 @@ namespace osu.Game.Screens.OnlinePlay.Matchmaking.Match if (beatmapSet == null) return; - beatmapDownloader.Download(beatmapSet); + beatmapDownloader.Download(beatmapSet, config.Get(OsuSetting.PreferNoVideo)); })); }