Minor tweaks

Cleaning things up before things go dark?
This commit is contained in:
Kurt
2022-10-27 11:59:42 -07:00
parent 930b35d52d
commit f591257e7a
61 changed files with 346 additions and 403 deletions

View File

@@ -20,8 +20,8 @@ public EvolutionSet7(ReadOnlySpan<byte> data)
public override byte[] Write()
{
using MemoryStream ms = new();
using BinaryWriter bw = new(ms);
using var ms = new MemoryStream();
using var bw = new BinaryWriter(ms);
foreach (EvolutionMethod evo in PossibleEvolutions)
{
bw.Write((ushort)evo.Method);