mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-23 12:33:06 +00:00
Fix wc4->pgt crypt
array isn't encrypted in place (didn't use return value) Closes #1835
This commit is contained in:
parent
2b49ab0034
commit
c825d5919c
1 changed files with 1 additions and 1 deletions
|
@ -207,7 +207,7 @@ namespace PKHeX.Core
|
|||
{
|
||||
byte[] ekdata = new byte[PKX.SIZE_4PARTY];
|
||||
Array.Copy(Data, 8, ekdata, 0, ekdata.Length);
|
||||
PKX.EncryptArray45(ekdata);
|
||||
ekdata = PKX.EncryptArray45(ekdata);
|
||||
ekdata.CopyTo(Data, 8);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue