diff --git a/editor.html b/editor.html
index 7507044..127971f 100644
--- a/editor.html
+++ b/editor.html
@@ -941,7 +941,7 @@ function generateMapsJS() {
}
function varName(mapId) {
- return mapId.replace(/-([a-z])/g, (_, c) => c.toUpperCase());
+ return mapId.replace(/-(\w)/g, (_, c) => c.toUpperCase());
}
function compressCols(cols) {