Only push move if doesn't already have

Closes #3439
This commit is contained in:
Kurt 2022-02-17 20:53:21 -08:00
parent a98ac6979c
commit 51975e4bdd

View file

@ -420,7 +420,7 @@ namespace PKHeX.Core
public void PushMove(int move)
{
if (move == 0 || (uint)move >= MaxMoveID)
if (move == 0 || (uint)move >= MaxMoveID || HasMove(move))
return;
var ct = MoveCount;