mirror of
https://github.com/tobspr/shapez.io.git
synced 2025-12-16 19:51:50 +00:00
lint-autofix
This commit is contained in:
parent
1de75a5887
commit
2412fa36fe
@ -155,7 +155,6 @@ const mix = enumColorMixingResults;
|
||||
initColors();
|
||||
|
||||
export function initColors() {
|
||||
|
||||
for (let c1 in allColorData) {
|
||||
let data = allColorData[c1];
|
||||
assert(data);
|
||||
|
||||
@ -164,11 +164,7 @@ export class MapChunk {
|
||||
let weights = {};
|
||||
for (let s in allShapeData) {
|
||||
const data = allShapeData[s];
|
||||
if (
|
||||
data.disabled ||
|
||||
!data.spawnable ||
|
||||
distanceToOriginInChunks < data.minDistance
|
||||
) {
|
||||
if (data.disabled || !data.spawnable || distanceToOriginInChunks < data.minDistance) {
|
||||
continue;
|
||||
}
|
||||
const chance = Math_round(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user