1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-21 20:07:25 +08:00

Fix codefactor issue

This commit is contained in:
Dean Herbert 2019-01-24 17:46:09 +09:00
parent 8617aaa2a7
commit a580c17949

View File

@ -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();
}