summaryrefslogtreecommitdiff
path: root/models/chunk.js
diff options
context:
space:
mode:
Diffstat (limited to 'models/chunk.js')
-rw-r--r--models/chunk.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/models/chunk.js b/models/chunk.js
index 42396ea..0ed0ee7 100644
--- a/models/chunk.js
+++ b/models/chunk.js
@@ -266,9 +266,9 @@ Chunk.prototype.generateAllTiles = function() {
if ((this.pos.x == 0 && this.pos.y == 0) || Math.random() < 1 / (10 * 10)) {
this.addRestZone();
}
- if (Math.random() < 1 / 1)
- for (let i = 0; i < 10; i++)
- this.addTeleporter();
+ if (Math.random() < 1 / 36) {
+ this.addTeleporter();
+ }
chunkUtils.persistAllChunks();
}