diff options
Diffstat (limited to 'src/data')
| -rw-r--r-- | src/data/checks.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/data/checks.js b/src/data/checks.js index a0c4858f..88dfbc6d 100644 --- a/src/data/checks.js +++ b/src/data/checks.js @@ -615,6 +615,15 @@ export function filterReferenceErrors(wikiData, { } } + if (thing.constructor === thingConstructors.Album) { + if ( + thing.style === 'in-game vgm' && + CacheableObject.getUpdateValue(thing, 'hasCoverArt') !== false + ) { + hasCoverArtwork = true; + } + } + if (!hasCoverArtwork) { nest({message: errorMessage}, ({push}) => { push(new TypeError(`No cover artwork, so this shouldn't have art tags specified`)); |