1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-26 16:12:54 +08:00

Avoid throwing / logging an error when drawings.txt is missing

This commit is contained in:
Dean Herbert 2021-07-30 02:00:07 +09:00
parent f9814a66cb
commit ceec74aaca

View File

@ -27,6 +27,9 @@ namespace osu.Game.Tournament.Screens.Drawings.Components
{
var teams = new List<TournamentTeam>();
if (!storage.Exists(teams_filename))
return teams;
try
{
using (Stream stream = storage.GetStream(teams_filename, FileAccess.Read, FileMode.Open))