mirror of
https://github.com/SabreTools/MPF.git
synced 2026-07-02 17:24:48 +00:00
Better categorization
This commit is contained in:
@@ -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 : "");
|
||||
|
||||
Reference in New Issue
Block a user