From 2249044de7b22e2df6bf9fbb9c95306f7b2c0154 Mon Sep 17 00:00:00 2001 From: Index Date: Sat, 29 Jun 2024 05:48:43 -0500 Subject: [PATCH] feat: add "Planet X, Andromeda" to great divide place allowlist --- the-great-divide.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/the-great-divide.js b/the-great-divide.js index 898fa6f..078eb9e 100644 --- a/the-great-divide.js +++ b/the-great-divide.js @@ -2,6 +2,11 @@ let EventOngoing = true; let Team; let HasTeam = true; +const PlaceAllowlist = [ + '9656', + '9757' +]; + (async () => { Utilities = await import(chrome.runtime.getURL('resources/utils.js')) .default @@ -25,7 +30,7 @@ let HasTeam = true; } if (new Date().getMonth().toString()+new Date().getDate().toString() >= 714) { EventOngoing = false } - if (Settings.TheGreatDivide.UnbalancedIndicatorOn === true && window.location.pathname.split('/')[1] === 'places' && window.location.pathname.split('/')[2] === '9656') { + if (Settings.TheGreatDivide.UnbalancedIndicatorOn === true && window.location.pathname.split('/')[1] === 'places' && PlaceAllowlist.indexOf(window.location.pathname.split('/')[2]) !== -1) { UnbalancedServerMarkers() }