mirror of https://github.com/ppy/osu
Fix codefactor issue
This commit is contained in:
parent
8617aaa2a7
commit
a580c17949
|
@ -38,7 +38,7 @@ public static SerializationReader GetReader(SerializationInfo info)
|
|||
/// <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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue