ShipAuthoringStore.Load names the file when its store format is newer than this runtime reads

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
soul 2026-10-22 23:34:26 +02:00
commit 7886f0a231

View file

@ -140,6 +140,10 @@ public static class ShipAuthoringStore
{
throw new InvalidOperationException($"{path}: a record does not decode as its schema: {error.Message}", error);
}
catch (NotSupportedException error)
{
throw new InvalidOperationException($"{path}: not a readable ship file: {error.Message}", error);
}
}
// Key 1 of ShipAuthoring held the whole hull before S1. The type no longer has that member, so a deserialized record