mirror of https://github.com/ppy/osu
Fix OS-dependent substring
This commit is contained in:
parent
10486a0ad2
commit
72707a9973
|
@ -318,7 +318,7 @@ public Stream GetStream(string name)
|
|||
return new MemoryStream();
|
||||
}
|
||||
|
||||
private void markLookup(string name) => PerformedLookups.Add(name.Substring(name.LastIndexOf('/') + 1));
|
||||
private void markLookup(string name) => PerformedLookups.Add(name.Substring(name.LastIndexOf(Path.DirectorySeparatorChar) + 1));
|
||||
|
||||
public IEnumerable<string> GetAvailableResources() => Enumerable.Empty<string>();
|
||||
|
||||
|
|
Loading…
Reference in New Issue