Fix Evolution and Learnset Editor for PLA (#206)

This commit is contained in:
hp3721
2022-04-27 17:58:31 -05:00
committed by GitHub
parent 0f65a31ab6
commit ec9d9c539e

View File

@@ -80,11 +80,6 @@ public void ResetText()
protected override void Terminate()
{
// Store Personal Data back in the file. Let the container detect if it is modified.
var learn = this[GameFile.Learnsets];
learn[0] = FlatBufferConverter.SerializeFrom(new Learnset8a { Table = Data.LevelUpData.LoadAll() });
var evos = this[GameFile.Evolutions];
evos[0] = FlatBufferConverter.SerializeFrom(new EvolutionTable8 { Table = Data.EvolutionData.LoadAll() });
}
}
}