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:
Kaphotics
2015-11-04 13:29:12 -08:00
parent 45b91c03b9
commit da47ee2f3c

View File

@@ -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]);