From 98df1aac9398d701c8306fbee930aa6847ed70df Mon Sep 17 00:00:00 2001 From: Matt Isenhower Date: Thu, 11 Jan 2024 17:46:31 -0800 Subject: [PATCH] Fix global Splatfest status language --- src/stores/splatfests.mjs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/stores/splatfests.mjs b/src/stores/splatfests.mjs index 470c2b4..94c2b16 100644 --- a/src/stores/splatfests.mjs +++ b/src/stores/splatfests.mjs @@ -26,8 +26,10 @@ function defineSplatfestRegionStore(region) { function getRegions(node) { let result = []; const regions = node.__splatoon3ink_id.split("-")[0]; - if (regions.includes("J")) result.push("JP"); + + // The order here is important for SplatfestStatus/SplatfestResultsStatus posts if (regions.includes("U")) result.push("NA"); + if (regions.includes("J")) result.push("JP"); if (regions.includes("E")) result.push("EU"); if (regions.includes("A")) result.push("AP");