summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/models/caves.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/models/caves.py b/core/models/caves.py
index 0d16082..9d508fc 100644
--- a/core/models/caves.py
+++ b/core/models/caves.py
@@ -501,7 +501,7 @@ def GetCaveLookup():
global Gcave_count
Gcave_count = defaultdict(int) # sets default value to int(0)
- for cave in Cave.objects.all():
+ for cave in Cave.objects.all(): # Note that this collects recently created Caves too
key = cave.official_name.lower()
if key != "" and key != "unamed" and key != "unnamed":
if Gcave_count[key] > 0: