mirror of
https://github.com/osukey/osukey.git
synced 2025-05-05 21:57:24 +09: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 OsuDropdown<string> dropdown;
|
||||||
|
|
||||||
private string startupTournament;
|
|
||||||
|
|
||||||
[Resolved]
|
[Resolved]
|
||||||
private TournamentGameBase game { get; set; }
|
private TournamentGameBase game { get; set; }
|
||||||
|
|
||||||
[BackgroundDependencyLoader]
|
[BackgroundDependencyLoader]
|
||||||
private void load(TournamentStorage storage)
|
private void load(TournamentStorage storage)
|
||||||
{
|
{
|
||||||
startupTournament = storage.CurrentTournament.Value;
|
string startupTournament = storage.CurrentTournament.Value;
|
||||||
|
|
||||||
dropdown.Current = storage.CurrentTournament;
|
dropdown.Current = storage.CurrentTournament;
|
||||||
dropdown.Items = storage.ListTournaments();
|
dropdown.Items = storage.ListTournaments();
|
||||||
@ -40,4 +38,4 @@ namespace osu.Game.Tournament.Screens.Setup
|
|||||||
return drawable;
|
return drawable;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user