mirror of
https://github.com/ppy/osu.git
synced 2026-05-22 13:10:12 +08:00
Avoid throwing / logging an error when drawings.txt is missing
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user