From 1c92ed3abd0348cef05470ab2051dadadf693c8c Mon Sep 17 00:00:00 2001 From: Eccentric Date: Sat, 20 Jan 2024 03:01:29 +0000 Subject: [PATCH] Improve playlist images --- fortnite/image.go | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/fortnite/image.go b/fortnite/image.go index 52f84fa..cc2f4c9 100644 --- a/fortnite/image.go +++ b/fortnite/image.go @@ -93,6 +93,16 @@ func getRandomCharacterImage() image.Image { continue } + for _, tag := range character.GameplayTags { + if strings.Contains(tag, "StarterPack") { + continueLoop = true + break + } + } + if continueLoop { + continue + } + // newDisplayAsset := "DAv2_" + strings.ReplaceAll(character.ID, "Athena_Commando_", "") // if !KnownDisplayAssets[newDisplayAsset] { // continue