summaryrefslogtreecommitdiff
path: root/src/web/app
diff options
context:
space:
mode:
Diffstat (limited to 'src/web/app')
-rw-r--r--src/web/app/common/views/components/othello.room.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/web/app/common/views/components/othello.room.vue b/src/web/app/common/views/components/othello.room.vue
index 0fcca85485..60fdb32a45 100644
--- a/src/web/app/common/views/components/othello.room.vue
+++ b/src/web/app/common/views/components/othello.room.vue
@@ -111,7 +111,7 @@ export default Vue.extend({
onUpdateSettings(settings) {
this.game.settings = settings;
- this.mapName = this.game.settings.map.name;
+ this.mapName = Object.entries(maps).find(x => x[1].data.join('') == this.game.settings.map.join(''))[1].name;
},
onMapChange(v) {