From 2c07e8a44834566369adfb1fdf4d660bb5bf77bd Mon Sep 17 00:00:00 2001 From: Mischa Untaga <99098079+MischaU8@users.noreply.github.com> Date: Sat, 25 Nov 2023 20:31:11 +0100 Subject: fix region layout for Atlantic & Appalachia --- play.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'play.js') diff --git a/play.js b/play.js index 75b5602..cfb83a4 100644 --- a/play.js +++ b/play.js @@ -385,7 +385,8 @@ function build_user_interface() { if (s) US_STATES_LAYOUT.push(LAYOUT[s.code]) } for(let r of REGION_NAMES) { - if (r) REGIONS_LAYOUT.push(LAYOUT[r]) + if (r) + REGIONS_LAYOUT.push(LAYOUT[r.replaceAll(' & ', '')]) } // TODO use onmousedown and figure out why it didn't work on mobile -- cgit v1.2.3