summaryrefslogtreecommitdiff
path: root/play.js
diff options
context:
space:
mode:
Diffstat (limited to 'play.js')
-rw-r--r--play.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/play.js b/play.js
index 0dd878f..cb3ffc5 100644
--- a/play.js
+++ b/play.js
@@ -739,7 +739,7 @@ function build_map() {
locale_layout[i] = []
data.locales.forEach((locale, ix) => {
- let region = clean_name(locale.region)
+ let region = locale.region ? clean_name(locale.region) : ""
let { x, y, w, h } = locale.box
let xc = Math.round(x + w / 2)
let yc = Math.round(y + h / 2)