1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-18 03:05:10 +08:00

Merge branch 'cinema-mod' of https://github.com/aspriddell/osu into cinema-mod

This commit is contained in:
Albie 2019-11-24 07:37:47 +00:00
commit 8294b9ebe7
3 changed files with 4 additions and 4 deletions

View File

@ -202,6 +202,7 @@ namespace osu.Game.Tournament
{
foreach (var p in t.Players)
{
if (p.Username == null || p.Statistics == null)
PopulateUser(p);
addedInfo = true;
}
@ -243,7 +244,6 @@ namespace osu.Game.Tournament
{
user.Username = res.Username;
user.Statistics = res.Statistics;
user.Username = res.Username;
user.Country = res.Country;
user.Cover = res.Cover;

View File

@ -15,6 +15,6 @@ namespace osu.Game.Online.API.Requests
this.beatmap = beatmap;
}
protected override string Target => $@"beatmaps/lookup?id={beatmap.OnlineBeatmapID}&checksum={beatmap.MD5Hash}&filename={System.Uri.EscapeUriString(beatmap.Path)}";
protected override string Target => $@"beatmaps/lookup?id={beatmap.OnlineBeatmapID}&checksum={beatmap.MD5Hash}&filename={System.Uri.EscapeUriString(beatmap.Path ?? string.Empty)}";
}
}

View File

@ -86,6 +86,6 @@
<PackageReference Include="NUnit" Version="3.12.0" />
<PackageReference Include="SharpRaven" Version="2.4.0" />
<PackageReference Include="System.ComponentModel.Annotations" Version="4.6.0" />
<PackageReference Include="ppy.osu.Framework.NativeLibs" Version="2019.1112.0" ExcludeAssets="all" />
<PackageReference Include="ppy.osu.Framework.NativeLibs" Version="2019.1104.0" ExcludeAssets="all" />
</ItemGroup>
</Project>