mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-23 12:33:06 +00:00
parent
9a1695f319
commit
6ee534c4b1
1 changed files with 2 additions and 2 deletions
|
@ -270,7 +270,7 @@ namespace PKHeX.WinForms.Controls
|
|||
return;
|
||||
|
||||
SlotChange change = UndoStack.Pop();
|
||||
if (change.Slot >= (int)SlotIndex.Party)
|
||||
if (change.Box < 0)
|
||||
return;
|
||||
|
||||
RedoStack.Push(new SlotChange
|
||||
|
@ -289,7 +289,7 @@ namespace PKHeX.WinForms.Controls
|
|||
return;
|
||||
|
||||
SlotChange change = RedoStack.Pop();
|
||||
if (change.Slot >= (int)SlotIndex.Party)
|
||||
if (change.Box < 0)
|
||||
return;
|
||||
|
||||
UndoStack.Push(new SlotChange
|
||||
|
|
Loading…
Reference in a new issue