1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 11:42:56 +08:00

Code quality fixes

This commit is contained in:
naoey 2019-06-29 12:29:12 +05:30
parent 424711d24b
commit 7d9e215744
No known key found for this signature in database
GPG Key ID: 670DA9BE3DF7EE60
3 changed files with 7 additions and 8 deletions

View File

@ -9,7 +9,6 @@ using osu.Game.Rulesets.Osu;
using osu.Game.Scoring;
using osu.Game.Screens.Play;
using osu.Game.Users;
using osuTK;
using System;
using System.Collections.Generic;
@ -62,7 +61,8 @@ namespace osu.Game.Tests.Visual.Gameplay
{
public void SetDownloadState(DownloadState state) => State.Value = state;
public TestReplayDownloadButton(ScoreInfo score) : base(score)
public TestReplayDownloadButton(ScoreInfo score)
: base(score)
{
}
}

View File

@ -1,4 +1,8 @@
using osu.Game.Scoring;
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Game.Scoring;
namespace osu.Game.Online.API.Requests
{
public class DownloadReplayRequest : ArchiveDownloadRequest<ScoreInfo>

View File

@ -2,8 +2,6 @@
// See the LICENCE file in the repository root for full licence text.
using System.Collections.Generic;
using osu.Framework.Allocation;
using osu.Game.Online.API.Requests.Responses;
using osu.Game.Scoring;
using osu.Game.Screens.Ranking;
using osu.Game.Screens.Ranking.Types;
@ -12,9 +10,6 @@ namespace osu.Game.Screens.Play
{
public class SoloResults : Results
{
[Resolved]
ScoreManager scores { get; set; }
public SoloResults(ScoreInfo score)
: base(score)
{