File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 1717 <DebugSymbols >true</DebugSymbols >
1818 <DebugType >full</DebugType >
1919 <Optimize >false</Optimize >
20- <OutputPath >..\..\..\..\LaunchBox\Plugins\</OutputPath >
20+ <OutputPath >..\..\..\..\..\ LaunchBox\Plugins\</OutputPath >
2121 <DefineConstants >DEBUG;TRACE</DefineConstants >
2222 <ErrorReport >prompt</ErrorReport >
2323 <WarningLevel >4</WarningLevel >
Original file line number Diff line number Diff line change @@ -127,8 +127,11 @@ await Task.Run(() =>
127127 {
128128 foreach ( var playlistSetting in playlistsToExport )
129129 {
130- gamesByPlatform . Add ( playlistSetting . Games . OrderBy ( game => game . SortTitleOrTitle )
131- . GroupBy ( game => new { Platform = playlistSetting . Name , IsPlaylist = true } ) . First ( ) ) ;
130+ if ( playlistSetting . Games . Length > 0 )
131+ {
132+ gamesByPlatform . Add ( playlistSetting . Games . OrderBy ( game => game . SortTitleOrTitle )
133+ . GroupBy ( game => new { Platform = playlistSetting . Name , IsPlaylist = true } ) . First ( ) ) ;
134+ }
132135 }
133136 }
134137
You can’t perform that action at this time.
0 commit comments