From 75285315c51ecaecaa7e8f5ce9dbf8842559adba Mon Sep 17 00:00:00 2001 From: syuilo Date: Fri, 9 Mar 2018 18:46:51 +0900 Subject: [PATCH] Fix bug --- src/web/app/common/views/components/othello.room.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/web/app/common/views/components/othello.room.vue b/src/web/app/common/views/components/othello.room.vue index 0fcca8548..60fdb32a4 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) {