diff --git a/packages/universe/src/resources/universe.js b/packages/universe/src/resources/universe.js index 5626bb3..3a7a4ba 100644 --- a/packages/universe/src/resources/universe.js +++ b/packages/universe/src/resources/universe.js @@ -119,7 +119,7 @@ export default (latus) => class Universe extends JsonResource { Vector.add([8, 8], Vector.scale([x, y], 16)), [Math.random() * 8 - 4, Math.random() * 8 - 4], ))); - // room.addEntityToLayer(shrub, 1); + room.addEntityToLayer(shrub, 1); } else if (v < 0.17) { // eslint-disable-next-line no-await-in-loop @@ -131,7 +131,7 @@ export default (latus) => class Universe extends JsonResource { Vector.add([8, 8], p), [Math.random() * 8 - 4, Math.random() * 8 - 4], ))); - // room.addEntityToLayer(tree, 1); + room.addEntityToLayer(tree, 1); } v = (1 + noise(Vector.scale([x, y], 9), seed + 1)) / 2; if (v < 0.08) { @@ -141,7 +141,7 @@ export default (latus) => class Universe extends JsonResource { Vector.add([8, 8], Vector.scale([x, y], 16)), [Math.random() * 8 - 4, Math.random() * 8 - 4], ))); - // room.addEntityToLayer(flower, 1); + room.addEntityToLayer(flower, 1); } }