summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-03-09 18:46:51 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-03-09 18:46:51 +0900
commit75285315c51ecaecaa7e8f5ce9dbf8842559adba (patch)
tree5eaf518418ac49c7e40f990fb6e5471972c4f08e /src
parentv4049 (diff)
downloadmisskey-75285315c51ecaecaa7e8f5ce9dbf8842559adba.tar.gz
misskey-75285315c51ecaecaa7e8f5ce9dbf8842559adba.tar.bz2
misskey-75285315c51ecaecaa7e8f5ce9dbf8842559adba.zip
Fix bug
Diffstat (limited to 'src')
-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) {