From 1fa33e2a780503c23899416bc607424e7b164ad3 Mon Sep 17 00:00:00 2001 From: PRO100KatYT <67335438+PRO100KatYT@users.noreply.github.com> Date: Sat, 16 Nov 2024 07:43:41 +0100 Subject: [PATCH] Fix small news images not working for older builds --- structure/functions.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/structure/functions.js b/structure/functions.js index d85bbc0..22c1dca 100644 --- a/structure/functions.js +++ b/structure/functions.js @@ -238,8 +238,9 @@ function getContentPages(req) { chooseTranslationsInJSON(contentpages, Language) + const news = ["savetheworldnews", "battleroyalenews"]; try { - if (memory.build < 5.30) { + if (memory.build < 5.30) { news.forEach(mode => { contentpages[mode].news.messages[0].image = "https://fortnite-public-service-prod11.ol.epicgames.com/images/discord-s.png"; contentpages[mode].news.messages[1].image = "https://fortnite-public-service-prod11.ol.epicgames.com/images/lawin-s.png";