summaryrefslogtreecommitdiff
path: root/api.js
diff options
context:
space:
mode:
Diffstat (limited to 'api.js')
-rw-r--r--api.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/api.js b/api.js
index fe0ba82..7b38de4 100644
--- a/api.js
+++ b/api.js
@@ -68,7 +68,7 @@ async function getMappings() {
["gamemode"], async (table) => {
mapping[table] = new Map();
(await getMap(table)).map(
- (map) => mapping[table]["id"] = map["name"])
+ (map) => mapping[table][map["id"]] = map["name"])
}
);
return mapping;