mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Fix codefactor issue
This commit is contained in:
@ -38,7 +38,7 @@ namespace osu.Game.IO.Legacy
|
||||
/// <summary> Reads a string from the buffer. Overrides the base implementation so it can cope with nulls. </summary>
|
||||
public override string ReadString()
|
||||
{
|
||||
if (0 == ReadByte()) return null;
|
||||
if (ReadByte() == 0) return null;
|
||||
return base.ReadString();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user