1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 07:33:20 +08:00

Fix CI issues

This commit is contained in:
Salman Ahmed 2020-04-11 05:13:04 +03:00
parent e10c973aa6
commit a314a6119a
2 changed files with 2 additions and 10 deletions

View File

@ -14,10 +14,8 @@ using System.Collections.Generic;
using System.Linq;
using System.Threading;
using JetBrains.Annotations;
using osu.Framework.Audio.Track;
using osu.Framework.Bindables;
using osu.Framework.Graphics.Cursor;
using osu.Framework.Graphics.Textures;
using osu.Framework.Input;
using osu.Framework.Input.Events;
using osu.Game.Configuration;
@ -58,10 +56,6 @@ namespace osu.Game.Rulesets.UI
private readonly Lazy<Playfield> playfield;
private TextureStore textureStore;
private ISampleStore localSampleStore;
/// <summary>
/// The playfield.
/// </summary>
@ -146,8 +140,6 @@ namespace osu.Game.Rulesets.UI
{
dependencies = new DrawableRulesetDependencies(Ruleset, base.CreateChildDependencies(parent));
textureStore = dependencies.TextureStore;
localSampleStore = dependencies.SampleStore;
Config = dependencies.RulesetConfigManager;
onScreenDisplay = dependencies.Get<OnScreenDisplay>();

View File

@ -21,7 +21,7 @@ namespace osu.Game.Rulesets.UI
/// <summary>
/// The texture store to be used for the ruleset.
/// </summary>
public TextureStore TextureStore { get; private set; }
public TextureStore TextureStore { get; }
/// <summary>
/// The sample store to be used for the ruleset.
@ -31,7 +31,7 @@ namespace osu.Game.Rulesets.UI
/// the cached sample store (<see cref="FallbackSampleStore"/>) retrieves from
/// this store and falls back to the parent store if this store doesn't have the requested sample.
/// </remarks>
public ISampleStore SampleStore { get; private set; }
public ISampleStore SampleStore { get; }
/// <summary>
/// The ruleset config manager.