change globe file extension to binCraft

This commit is contained in:
Matthias Wirth
2020-10-17 23:01:45 +02:00
parent 8e79d81761
commit 8e0be2fcff

View File

@@ -365,7 +365,7 @@ function fetchData() {
return (globeIndexNow[x] - globeIndexNow[y]);
});
indexes = indexes.slice(0, globeSimLoad);
let ft = wdb ? '.ttf' : '.json'
let ft = wdb ? '.binCraft' : '.json'
for (let i in indexes) {
ac_url.push('data/globe_' + indexes[i].toString().padStart(4, '0') + ft);
}