From 0750fb7936ad8cec9b9e2a68354b0bbdc4674deb Mon Sep 17 00:00:00 2001 From: lifehackerhansol Date: Mon, 12 Jun 2023 02:43:16 -0700 Subject: [PATCH] get-started: N3DS CHN/TWN do not exist, sanity check this --- assets/js/selecting.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/assets/js/selecting.js b/assets/js/selecting.js index 41fcfcd4f0..ef46ec01dc 100644 --- a/assets/js/selecting.js +++ b/assets/js/selecting.js @@ -243,6 +243,11 @@ function redirect() { if(isO3DS) model = DEVICE_O3DS else if(isN3DS) model = DEVICE_N3DS; + if (model == DEVICE_N3DS && ["C", "T"].includes(region.value)) { + document.getElementById("result_invalidVersion").style.display = "block"; + return; + } + let redirected = [ can_soundhax, can_ssloth,