mirror of
https://github.com/kwsch/pk3DS.git
synced 2026-10-02 13:57:14 -05:00
Fix saving Learnsets with new Count
Ignore whatever count is, the move/level arrays are the only things that are referenced & saved.
This commit is contained in:
@@ -688,7 +688,7 @@ public byte[] Write()
|
||||
using (MemoryStream ms = new MemoryStream())
|
||||
using (BinaryWriter bw = new BinaryWriter(ms))
|
||||
{
|
||||
for (int i = 0; i < Count; i++)
|
||||
for (int i = 0; i < Moves.Length; i++)
|
||||
{
|
||||
bw.Write(Moves[i]);
|
||||
bw.Write(Levels[i]);
|
||||
|
||||
Reference in New Issue
Block a user