We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 277af6b commit 256e80bCopy full SHA for 256e80b
BlueMapCommon/webapp/src/js/map/Map.js
@@ -138,7 +138,7 @@ export class Map {
138
.then(worldSettings => {
139
this.data.name = worldSettings.name ? worldSettings.name : this.data.name;
140
141
- this.data.sorting = worldSettings.sorting ? worldSettings.sorting : this.data.sorting;
+ this.data.sorting = Number.isInteger(worldSettings.sorting) ? worldSettings.sorting : this.data.sorting;
142
143
this.data.startPos = {...this.data.startPos, ...vecArrToObj(worldSettings.startPos, true)};
144
0 commit comments