mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-26 22:10:21 +00:00
Fix record setting logic
Thanks @AnalogMan151 ! #2416 Fix method reference lol
This commit is contained in:
parent
f30a14ebf0
commit
2aaa3763ee
2 changed files with 2 additions and 2 deletions
|
@ -577,7 +577,7 @@ namespace PKHeX.Core
|
|||
return;
|
||||
foreach (var m in moves)
|
||||
{
|
||||
var index = Array.FindIndex(Legal.Pouch_TMHM_SWSH, 100, z => z == m) - 100;
|
||||
var index = Array.FindIndex(Legal.TMHM_SWSH, 100, z => z == m) - 100;
|
||||
if (index >= 0)
|
||||
pk8.SetMoveRecordFlag(index, true);
|
||||
}
|
||||
|
|
|
@ -1598,7 +1598,7 @@ namespace PKHeX.WinForms.Controls
|
|||
{
|
||||
if (ModifierKeys == Keys.Shift)
|
||||
{
|
||||
Entity.SetRelearnMoves(Entity.Moves);
|
||||
Entity.SetRecordFlags(Entity.Moves);
|
||||
UpdateLegality();
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue