mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-12-03 19:53:09 +02:00
Fix bug
This commit is contained in:
parent
2bbcadb72d
commit
75285315c5
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue