Fix auto resizing to party size

This commit is contained in:
Kaphotics 2016-05-25 22:43:03 -07:00
parent d2dbc9f2ed
commit 9438114fb7

View file

@ -416,7 +416,7 @@ namespace PKHeX
}; };
internal static byte[] shuffleArray(byte[] data, uint sv) internal static byte[] shuffleArray(byte[] data, uint sv)
{ {
byte[] sdata = new byte[260]; byte[] sdata = new byte[data.Length];
Array.Copy(data, sdata, 8); // Copy unshuffled bytes Array.Copy(data, sdata, 8); // Copy unshuffled bytes
// Shuffle Away! // Shuffle Away!