summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/functions/treasure.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/npc/functions/treasure.txt b/npc/functions/treasure.txt
index fbcf80bec..933a2f869 100644
--- a/npc/functions/treasure.txt
+++ b/npc/functions/treasure.txt
@@ -219,6 +219,9 @@ OnInit:
OnInit:
.offset = 0;
OnClock0551:
+ // Sanitization: Ensure the duplication database exists (OnInterIfInit)
+ if (!$@_DUPES)
+ end;
// 026-2 Impregnable Fortress B2F
create_poi("026-2", 44, 30, 1, p(15));
create_poi("026-2", 89, 57, 1, p(15));