From b97bee4412bba0f346f8ace94bfa0527ad93d0bd Mon Sep 17 00:00:00 2001 From: Kurt Date: Sat, 10 Oct 2020 12:50:57 -0700 Subject: [PATCH] Use correct filesize reference --- PKHeX.Core/Saves/SAV2Stadium.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PKHeX.Core/Saves/SAV2Stadium.cs b/PKHeX.Core/Saves/SAV2Stadium.cs index 09820ea59..95ec8b045 100644 --- a/PKHeX.Core/Saves/SAV2Stadium.cs +++ b/PKHeX.Core/Saves/SAV2Stadium.cs @@ -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); }