Merge pull request #12426 from reaperrr/bleed-style-hotfix

ReplayMetadata style fix
This commit is contained in:
Paul Chote
2016-11-25 12:08:19 +00:00
committed by GitHub

View File

@@ -85,10 +85,10 @@ namespace OpenRA.FileFormats
{
if (!fs.CanSeek)
return null;
if (fs.Length < 20)
return null;
fs.Seek(-(4 + 4), SeekOrigin.End);
var dataLength = fs.ReadInt32();
if (fs.ReadInt32() == MetaEndMarker)