From a580c1794993c6277f7ba6f1becb6f108eab53ff Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Thu, 24 Jan 2019 17:46:09 +0900 Subject: [PATCH] Fix codefactor issue --- osu.Game/IO/Legacy/SerializationReader.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osu.Game/IO/Legacy/SerializationReader.cs b/osu.Game/IO/Legacy/SerializationReader.cs index 9a660552e8..aba9c289fa 100644 --- a/osu.Game/IO/Legacy/SerializationReader.cs +++ b/osu.Game/IO/Legacy/SerializationReader.cs @@ -38,7 +38,7 @@ public static SerializationReader GetReader(SerializationInfo info) /// Reads a string from the buffer. Overrides the base implementation so it can cope with nulls. public override string ReadString() { - if (0 == ReadByte()) return null; + if (ReadByte() == 0) return null; return base.ReadString(); }