Fix old .NET

This commit is contained in:
Matt Nadareski
2024-11-12 14:56:53 -05:00
parent 8ff66b04d8
commit c18a185474

View File

@@ -134,7 +134,11 @@ namespace SabreTools.Serialization.Deserializers
dat.Games ??= new Games();
// If the line doesn't contain the delimiter
#if NETFRAMEWORK
if (!(reader.CurrentLine?.Contains("¬") ?? false))
#else
if (!(reader.CurrentLine?.Contains('¬') ?? false))
#endif
continue;
// Otherwise, separate out the line