mirror of
https://github.com/ppy/osu
synced 2025-01-05 13:50:03 +00:00
Source spectator state sent to server from gameplay state
This commit is contained in:
parent
29ec498f6c
commit
e57d6e930e
@ -144,9 +144,9 @@ namespace osu.Game.Online.Spectator
|
||||
IsPlaying = true;
|
||||
|
||||
// transfer state at point of beginning play
|
||||
currentState.BeatmapID = score.ScoreInfo.BeatmapInfo.OnlineBeatmapID;
|
||||
currentState.RulesetID = score.ScoreInfo.RulesetID;
|
||||
currentState.Mods = score.ScoreInfo.Mods.Select(m => new APIMod(m)).ToArray();
|
||||
currentState.BeatmapID = state.Beatmap.BeatmapInfo.OnlineBeatmapID;
|
||||
currentState.RulesetID = state.Ruleset.RulesetInfo.ID;
|
||||
currentState.Mods = state.Mods.Select(m => new APIMod(m)).ToArray();
|
||||
|
||||
currentBeatmap = state.Beatmap;
|
||||
currentScore = score;
|
||||
|
Loading…
Reference in New Issue
Block a user