mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-27 14:30:56 +00:00
Remove unnecessary line
What was I thinking? Oh, copy-pasted.
This commit is contained in:
parent
52bd66f1ff
commit
ddac932419
1 changed files with 1 additions and 2 deletions
|
@ -708,8 +708,7 @@ namespace PKHeX.Core
|
|||
return;
|
||||
|
||||
int ofs = WondercardFlags + 0x100; // skip over flags
|
||||
bool[] active = new bool[GiftCountMax]; // 8 PGT, 3 PCD
|
||||
for (int i = 0; i < active.Length; i++)
|
||||
for (int i = 0; i < value.Length; i++)
|
||||
{
|
||||
byte[] magic = BitConverter.GetBytes(value[i] ? MysteryGiftDPSlotActive : 0); // 4 bytes
|
||||
setData(magic, ofs + 4*i);
|
||||
|
|
Loading…
Reference in a new issue