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:
parent
dc0b1e2cfe
commit
1bb17feabc
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue