diff --git a/DICUI.Library/Utilities/DumpEnvironment.cs b/DICUI.Library/Utilities/DumpEnvironment.cs index f5c857c9..9d2fbec0 100644 --- a/DICUI.Library/Utilities/DumpEnvironment.cs +++ b/DICUI.Library/Utilities/DumpEnvironment.cs @@ -663,7 +663,7 @@ namespace DICUI.Utilities ForeignTitleNonLatin = (AddPlaceholders ? Template.OptionalValue : ""), DiscNumberLetter = (AddPlaceholders ? Template.OptionalValue : ""), DiscTitle = (AddPlaceholders ? Template.OptionalValue : ""), - Category = DiscCategory.Games, + Category = null, Region = null, Languages = null, Serial = (AddPlaceholders ? Template.RequiredIfExistsValue : ""), @@ -946,6 +946,9 @@ namespace DICUI.Utilities break; } + // Set the category if it's not overriden + info.CommonDiscInfo.Category = info.CommonDiscInfo.Category ?? DiscCategory.Games; + // Comments is one of the few fields with odd handling if (string.IsNullOrEmpty(info.CommonDiscInfo.Comments)) info.CommonDiscInfo.Comments = (AddPlaceholders ? Template.OptionalValue : "");