summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2024-12-31 11:04:47 -0300
committerJesusaves <cpntb1@ymail.com>2024-12-31 11:04:47 -0300
commitc1043466788f472fc6dc47606b75a61a0231a4e7 (patch)
tree0faefaf43977c196aaaa1e260a8595869b3833c9
parentcf65e1dff480e01ab7bbeb6a8139056bbc88d7f3 (diff)
downloadserverdata-c1043466788f472fc6dc47606b75a61a0231a4e7.tar.gz
serverdata-c1043466788f472fc6dc47606b75a61a0231a4e7.tar.bz2
serverdata-c1043466788f472fc6dc47606b75a61a0231a4e7.tar.xz
serverdata-c1043466788f472fc6dc47606b75a61a0231a4e7.zip
So TL;DR to use this feature, char-server must be up and running :p
-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));