mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Fixed empty images in slideshow
This commit is contained in:
parent
d58fcab92e
commit
73e17931dc
@ -89,6 +89,7 @@ namespace Wabbajack
|
||||
return modList.SourceModList.Archives
|
||||
.Select(m => m.State)
|
||||
.OfType<IMetaState>()
|
||||
.Where(x => !string.IsNullOrEmpty(x.URL) && !string.IsNullOrEmpty(x.ImageURL))
|
||||
.DistinctBy(x => x.URL)
|
||||
// Shuffle it
|
||||
.Shuffle(_random)
|
||||
|
Loading…
Reference in New Issue
Block a user