aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--features/dungeonMap/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/features/dungeonMap/index.js b/features/dungeonMap/index.js
index bf13099..fd8b0a0 100644
--- a/features/dungeonMap/index.js
+++ b/features/dungeonMap/index.js
@@ -577,7 +577,7 @@ class DungeonMap extends Feature {
if (bytes[tx + ty * 128] === 66) {
- if (!this.puzzles[(tx) * 128 + ty]) {
+ if (!this.puzzles[(tx) * 128 + ty] && Object.keys(this.puzzles).length < 10) {
this.puzzles[(tx) * 128 + ty] = ["Loading", false]
}
}