mirror of
https://github.com/kwsch/PKHeX
synced 2024-09-21 06:41:56 +00:00
Fix CuteCharm frame yield off-by-one call index
Closes #3271 , thanks @valthisse !
This commit is contained in:
parent
4b263bf9bb
commit
910f9a651b
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue