mirror of
https://github.com/tobspr/shapez.io.git
synced 2025-06-07 01:54:10 +00:00
fix the linting errors (#1451)
This commit is contained in:
parent
d94dab55d5
commit
512174ee93
@ -227,7 +227,7 @@ export class BackgroundResourcesLoader {
|
|||||||
|
|
||||||
const options = {};
|
const options = {};
|
||||||
const headers = xhr.getAllResponseHeaders();
|
const headers = xhr.getAllResponseHeaders();
|
||||||
const contentType = headers.match(/^Content-Type\:\s*(.*?)$/im);
|
const contentType = headers.match(/^Content-Type:\s*(.*?)$/im);
|
||||||
if (contentType && contentType[1]) {
|
if (contentType && contentType[1]) {
|
||||||
options.type = contentType[1].split(";")[0];
|
options.type = contentType[1].split(";")[0];
|
||||||
}
|
}
|
||||||
|
@ -235,6 +235,7 @@ export class MapView extends BaseMap {
|
|||||||
let key = "regular";
|
let key = "regular";
|
||||||
|
|
||||||
// Disabled rn because it can be really annoying
|
// Disabled rn because it can be really annoying
|
||||||
|
// eslint-disable-next-line no-constant-condition
|
||||||
if (this.root.hud.parts.buildingPlacer.currentMetaBuilding.get() && false) {
|
if (this.root.hud.parts.buildingPlacer.currentMetaBuilding.get() && false) {
|
||||||
key = "placing";
|
key = "placing";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user