Encrypt initialization data for dropping

Click event can happen before this data is loaded, so just in case we
start with it encrypted instead of decrypted. Thanks Slashmolder for
finding this!
This commit is contained in:
Kurt 2014-12-02 20:27:49 -08:00
parent 23f62818c7
commit 3aed3ac262

View file

@ -6228,7 +6228,7 @@ namespace PKHeX
if (e.Data != null) if (e.Data != null)
e.Effect = DragDropEffects.Move; e.Effect = DragDropEffects.Move;
} }
private byte[] pkm_from = new Byte[0xE8]; private byte[] pkm_from = PKX.encryptArray(new Byte[0xE8]);
private int pkm_from_offset = 0; private int pkm_from_offset = 0;
private void L_Save_Click(object sender, EventArgs e) private void L_Save_Click(object sender, EventArgs e)
{ {