mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-09-14 02:25:21 -05:00
Fix GenIII save cloning bug
Just write the save back when cloning; previously, the reserved section wasn't set back.
This commit is contained in:
@@ -152,7 +152,7 @@ public override byte[] Write(bool DSV)
|
||||
private readonly int[] BlockOfs;
|
||||
|
||||
// Configuration
|
||||
public override SaveFile Clone() { return new SAV3(Data.Take(Box).ToArray(), Version); }
|
||||
public override SaveFile Clone() { return new SAV3(Write(DSV:false), Version); }
|
||||
|
||||
public override int SIZE_STORED => PKX.SIZE_3STORED;
|
||||
public override int SIZE_PARTY => PKX.SIZE_3PARTY;
|
||||
|
||||
Reference in New Issue
Block a user