mirror of https://github.com/ppy/osu
Fix IPC Source getting read from the incorrect location
This commit is contained in:
parent
f95b91e3b6
commit
5f1f8ec0ef
|
@ -34,10 +34,10 @@ public StableInfo(Storage storage)
|
|||
TournamentStorage tStorage = (TournamentStorage)storage;
|
||||
this.storage = tStorage.AllTournaments;
|
||||
|
||||
if (!storage.Exists(config_path))
|
||||
if (!this.storage.Exists(config_path))
|
||||
return;
|
||||
|
||||
using (Stream stream = storage.GetStream(config_path, FileAccess.Read, FileMode.Open))
|
||||
using (Stream stream = this.storage.GetStream(config_path, FileAccess.Read, FileMode.Open))
|
||||
using (var sr = new StreamReader(stream))
|
||||
{
|
||||
JsonConvert.PopulateObject(sr.ReadToEnd(), this);
|
||||
|
|
Loading…
Reference in New Issue