Fix CuteCharm frame yield off-by-one call index

Closes #3271 , thanks @valthisse !
This commit is contained in:
Kurt 2021-10-15 18:23:51 -07:00
parent 4b263bf9bb
commit 910f9a651b

View file

@ -392,7 +392,7 @@ namespace PKHeX.Core
if (!charmProc)
continue;
yield return info.GetFrame(prev, LeadRequired.CuteCharm);
yield return info.GetFrame(RNG.LCRNG.Prev(prev), LeadRequired.CuteCharm);
}
}
}