mirror of
https://github.com/ppy/osu.git
synced 2024-11-06 06:57:39 +08:00
Fix mods not being set on BeginPlayingInternal
This commit is contained in:
parent
50923b6e5b
commit
3b116a1a47
@ -4,6 +4,7 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using osu.Framework.Allocation;
|
||||
using osu.Framework.Bindables;
|
||||
@ -130,6 +131,7 @@ namespace osu.Game.Tests.Visual.Spectator
|
||||
// Track the local user's playing beatmap ID.
|
||||
Debug.Assert(state.BeatmapID != null);
|
||||
userBeatmapDictionary[api.LocalUser.Value.Id] = state.BeatmapID.Value;
|
||||
userModsDictionary[api.LocalUser.Value.Id] = state.Mods.ToArray();
|
||||
|
||||
return ((ISpectatorClient)this).UserBeganPlaying(api.LocalUser.Value.Id, state);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user