mirror of
https://github.com/ppy/osu.git
synced 2026-05-23 19:00:09 +08:00
Download using preferred video mode
This commit is contained in:
@@ -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<bool>(OsuSetting.PreferNoVideo));
|
||||
}));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user