mirror of
https://github.com/kwsch/PKHeX
synced 2024-09-22 15:21:55 +00:00
Update modified check
takes negligibly longer but accomplishes the necessary task Closes #1782
This commit is contained in:
parent
0e7350ee9e
commit
79add8dff1
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.Take(pkSAV.SIZE_STORED).SequenceEqual(pk.Data)) // data still exists in SAV, unmodified
|
||||
if (!pkSAV.DecryptedBoxData.SequenceEqual(pk.DecryptedBoxData)) // 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