Use correct filesize reference

This commit is contained in:
Kurt 2020-10-10 12:50:57 -07:00
parent a0a8dd0f91
commit b97bee4412

View file

@ -176,7 +176,7 @@ namespace PKHeX.Core
public static bool IsStadium(byte[] data)
{
if (data.Length != SaveUtil.SIZE_G1STAD)
if (data.Length != SaveUtil.SIZE_G2STAD)
return false;
return StadiumUtil.IsMagicPresentEither(data, TeamSize, MAGIC_FOOTER);
}