Fix crash on empty files in ZoneCodeGenerator

This commit is contained in:
Jan 2019-09-27 23:02:47 +02:00
parent fcc13d374f
commit ff62e6d0fb

View File

@ -29,7 +29,7 @@ namespace ZoneCodeGenerator.Parsing.Impl
public string ReadLine()
{
Line++;
return reader.ReadLine();
return reader.ReadLine() ?? "";
}
public void Close()