ReplayMetadata style fix

This commit is contained in:
reaperrr
2016-11-25 12:35:16 +01:00
parent 2708117bfe
commit 07312f8c62

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)