OldPlayerSettingsLoad: write the old key 2 as 0.25f

The previous commit changed only the assertion; the hand-written array still
wrote the default 1f, which loads the same with key 2 dropped. Builds; not yet run.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Meta Vens 2026-10-17 04:40:48 +02:00
commit 1bb17feabc

View file

@ -572,7 +572,7 @@ public sealed partial class RunStartTests
writer.WriteArrayHeader(3); // the old PlayerGraphicsSettings: Key 1 the retired minimap bool
MessagePackSerializer.Serialize(ref writer, Quality.High, options);
writer.Write(true);
writer.Write(1f);
writer.Write(0.25f);
writer.Flush();
var settings = MessagePackSerializer.Deserialize<PlayerSettings>(buffer.WrittenMemory, options);