mirror of
https://github.com/osukey/osukey.git
synced 2025-04-29 02:37:25 +09:00
Rename flag
This commit is contained in:
parent
a56a5d563c
commit
bb17b684b0
@ -33,7 +33,7 @@ namespace osu.Game.Database
|
|||||||
{
|
{
|
||||||
int i = 0;
|
int i = 0;
|
||||||
int fileCount = model.Files.Count();
|
int fileCount = model.Files.Count();
|
||||||
bool fileMissing = false;
|
bool anyFileMissing = false;
|
||||||
|
|
||||||
foreach (var file in model.Files)
|
foreach (var file in model.Files)
|
||||||
{
|
{
|
||||||
@ -44,7 +44,7 @@ namespace osu.Game.Database
|
|||||||
if (stream == null)
|
if (stream == null)
|
||||||
{
|
{
|
||||||
Logger.Log($"File {file.Filename} is missing in local storage and will not be included in the export", LoggingTarget.Database);
|
Logger.Log($"File {file.Filename} is missing in local storage and will not be included in the export", LoggingTarget.Database);
|
||||||
fileMissing = true;
|
anyFileMissing = true;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -59,7 +59,7 @@ namespace osu.Game.Database
|
|||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (fileMissing)
|
if (anyFileMissing)
|
||||||
{
|
{
|
||||||
Logger.Log("Some files are missing in local storage and will not be included in the export", LoggingTarget.Database, LogLevel.Error);
|
Logger.Log("Some files are missing in local storage and will not be included in the export", LoggingTarget.Database, LogLevel.Error);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user