mirror of
https://github.com/ppy/osu
synced 2025-03-01 17:11:12 +00:00
Rename other variables to match
This commit is contained in:
parent
7392876b5f
commit
68719bb23d
@ -50,10 +50,10 @@ namespace osu.Game.Online.Spectator
|
|||||||
private IBeatmap currentBeatmap;
|
private IBeatmap currentBeatmap;
|
||||||
|
|
||||||
[Resolved]
|
[Resolved]
|
||||||
private IBindable<RulesetInfo> ruleset { get; set; }
|
private IBindable<RulesetInfo> currentRuleset { get; set; }
|
||||||
|
|
||||||
[Resolved]
|
[Resolved]
|
||||||
private IBindable<IReadOnlyList<Mod>> mods { get; set; }
|
private IBindable<IReadOnlyList<Mod>> currentMods { get; set; }
|
||||||
|
|
||||||
private readonly SpectatorState currentState = new SpectatorState();
|
private readonly SpectatorState currentState = new SpectatorState();
|
||||||
|
|
||||||
@ -178,8 +178,8 @@ namespace osu.Game.Online.Spectator
|
|||||||
|
|
||||||
// transfer state at point of beginning play
|
// transfer state at point of beginning play
|
||||||
currentState.BeatmapID = beatmap.BeatmapInfo.OnlineBeatmapID;
|
currentState.BeatmapID = beatmap.BeatmapInfo.OnlineBeatmapID;
|
||||||
currentState.RulesetID = ruleset.Value.ID;
|
currentState.RulesetID = currentRuleset.Value.ID;
|
||||||
currentState.Mods = mods.Value.Select(m => new APIMod(m));
|
currentState.Mods = currentMods.Value.Select(m => new APIMod(m));
|
||||||
|
|
||||||
currentBeatmap = beatmap.PlayableBeatmap;
|
currentBeatmap = beatmap.PlayableBeatmap;
|
||||||
beginPlaying();
|
beginPlaying();
|
||||||
|
Loading…
Reference in New Issue
Block a user