mirror of
https://github.com/ppy/osu.git
synced 2024-12-13 08:32:57 +08:00
Fix IPC Source getting read from the incorrect location
This commit is contained in:
parent
f95b91e3b6
commit
5f1f8ec0ef
@ -34,10 +34,10 @@ namespace osu.Game.Tournament.Models
|
||||
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
Block a user