mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-27 06:20:25 +00:00
Ignore party stats on pkm compare
Stats were recently added to be calculated on load, thus not matching the all-zeros when obtained from the save. Closes #1781
This commit is contained in:
parent
c066df243f
commit
f104df6386
1 changed files with 1 additions and 1 deletions
|
@ -179,7 +179,7 @@ namespace PKHeX.WinForms
|
|||
int offset = SAV.GetBoxOffset(box) + slot*SAV.SIZE_STORED;
|
||||
PKM pkSAV = SAV.GetStoredSlot(offset);
|
||||
|
||||
if (!pkSAV.Data.SequenceEqual(pk.Data)) // data still exists in SAV, unmodified
|
||||
if (!pkSAV.Data.Take(pkSAV.SIZE_STORED).SequenceEqual(pk.Data)) // data still exists in SAV, unmodified
|
||||
{
|
||||
WinFormsUtil.Error("Database slot data does not match save data!", "Don't move Pokémon after initializing the Database, please re-open the Database viewer.");
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue