mirror of
https://github.com/ppy/osu.git
synced 2025-03-22 22:17:46 +08:00
Change field to local variable
This commit is contained in:
parent
7a7c583ded
commit
c9466426b7
@ -9,15 +9,13 @@ namespace osu.Game.Tournament.Screens.Setup
|
||||
{
|
||||
private OsuDropdown<string> dropdown;
|
||||
|
||||
private string startupTournament;
|
||||
|
||||
[Resolved]
|
||||
private TournamentGameBase game { get; set; }
|
||||
|
||||
[BackgroundDependencyLoader]
|
||||
private void load(TournamentStorage storage)
|
||||
{
|
||||
startupTournament = storage.CurrentTournament.Value;
|
||||
string startupTournament = storage.CurrentTournament.Value;
|
||||
|
||||
dropdown.Current = storage.CurrentTournament;
|
||||
dropdown.Items = storage.ListTournaments();
|
||||
@ -40,4 +38,4 @@ namespace osu.Game.Tournament.Screens.Setup
|
||||
return drawable;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user