mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 12:23:21 +08:00
Use terser dictionary initialiser syntax
This commit is contained in:
parent
631a0cea41
commit
f827b6c030
@ -116,12 +116,12 @@ namespace osu.Game.Tests.Visual.Gameplay
|
||||
{
|
||||
lastHeaders[userId] = header = new FrameHeader(new ScoreInfo
|
||||
{
|
||||
Statistics = new Dictionary<HitResult, int>(new[]
|
||||
Statistics = new Dictionary<HitResult, int>
|
||||
{
|
||||
new KeyValuePair<HitResult, int>(HitResult.Miss, 0),
|
||||
new KeyValuePair<HitResult, int>(HitResult.Meh, 0),
|
||||
new KeyValuePair<HitResult, int>(HitResult.Great, 0)
|
||||
})
|
||||
[HitResult.Miss] = 0,
|
||||
[HitResult.Meh] = 0,
|
||||
[HitResult.Great] = 0
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user