mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 23:24:04 +09:00
Avoid unnecessary casts
This commit is contained in:
@ -29,10 +29,9 @@ namespace osu.Game.Tournament.Models
|
||||
|
||||
private readonly Storage configStorage;
|
||||
|
||||
public StableInfo(Storage storage)
|
||||
public StableInfo(TournamentStorage storage)
|
||||
{
|
||||
TournamentStorage tStorage = (TournamentStorage)storage;
|
||||
configStorage = tStorage.AllTournaments;
|
||||
configStorage = storage.AllTournaments;
|
||||
|
||||
if (!configStorage.Exists(config_path))
|
||||
return;
|
||||
|
Reference in New Issue
Block a user