Fix some over-accessible fields

This commit is contained in:
Matt Nadareski
2024-10-19 23:17:37 -04:00
parent 16f173099d
commit 4d5ac92125
15 changed files with 142 additions and 154 deletions

View File

@@ -38,7 +38,7 @@ namespace SabreTools.DatFiles.Formats
ValidationFlags = XmlSchemaValidationFlags.None,
ValidationType = ValidationType.None,
});
var source = new Source { Index = indexId, Name = filename };
var source = new Source(indexId, filename);
long sourceIndex = ItemsDB.AddSource(source);
// If we got a null reader, just return