mirror of
https://github.com/tobspr/shapez.io.git
synced 2025-06-13 13:04:03 +00:00
lint
This commit is contained in:
parent
c7c981c257
commit
7df81b218c
@ -238,10 +238,9 @@ export class MapChunk {
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// Turn subshape at 2 random positions into a random type that is not windmill
|
// Turn subshape at 2 random positions into a random type that is not windmill
|
||||||
let quad1 = rng.nextIntRange(0,4);
|
let quad1 = rng.nextIntRange(0, 4);
|
||||||
let quad2 = rng.nextIntRange(0,3);
|
let quad2 = rng.nextIntRange(0, 3);
|
||||||
if (quad2 >= quad1)
|
if (quad2 >= quad1) {
|
||||||
{
|
|
||||||
++quad2;
|
++quad2;
|
||||||
}
|
}
|
||||||
subShapes[quad1] = this.internalGenerateRandomSubShape(rng, weights);
|
subShapes[quad1] = this.internalGenerateRandomSubShape(rng, weights);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user