mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Region list is never null
This commit is contained in:
@@ -223,9 +223,6 @@ namespace SabreTools.DatFiles
|
|||||||
/// <remarks>Applies to <see cref="Items"/></remarks>
|
/// <remarks>Applies to <see cref="Items"/></remarks>
|
||||||
private void SetOneGamePerRegionImpl(List<string> regionList)
|
private void SetOneGamePerRegionImpl(List<string> regionList)
|
||||||
{
|
{
|
||||||
// If we have null region list, make it empty
|
|
||||||
regionList ??= [];
|
|
||||||
|
|
||||||
// For sake of ease, the first thing we want to do is bucket by game
|
// For sake of ease, the first thing we want to do is bucket by game
|
||||||
BucketBy(ItemKey.Machine, DedupeType.None, norename: true);
|
BucketBy(ItemKey.Machine, DedupeType.None, norename: true);
|
||||||
|
|
||||||
@@ -307,9 +304,6 @@ namespace SabreTools.DatFiles
|
|||||||
/// <remarks>Applies to <see cref="ItemsDB"/></remarks>
|
/// <remarks>Applies to <see cref="ItemsDB"/></remarks>
|
||||||
private void SetOneGamePerRegionImplDB(List<string> regionList)
|
private void SetOneGamePerRegionImplDB(List<string> regionList)
|
||||||
{
|
{
|
||||||
// If we have null region list, make it empty
|
|
||||||
regionList ??= [];
|
|
||||||
|
|
||||||
// For sake of ease, the first thing we want to do is bucket by game
|
// For sake of ease, the first thing we want to do is bucket by game
|
||||||
BucketBy(ItemKey.Machine, DedupeType.None, norename: true);
|
BucketBy(ItemKey.Machine, DedupeType.None, norename: true);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user