summaryrefslogtreecommitdiff
path: root/npc/functions/treasure.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/functions/treasure.txt')
-rw-r--r--npc/functions/treasure.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/functions/treasure.txt b/npc/functions/treasure.txt
index 46434eaad..8b4df9e98 100644
--- a/npc/functions/treasure.txt
+++ b/npc/functions/treasure.txt
@@ -21,7 +21,7 @@ function script TreasureBox {
delitem TreasureKey, 1;
mesc l("You open the chest!");
- RNGTREASURE_DATE[.@id]=gettimetick(2)+60*15; // Minimum 15 minutes
+ RNGTREASURE_DATE[.@id]=gettimetick(2)+CHEST_WAITTIME; // Minimum 15 minutes
.@empty=getvariableofnpc(.empty, strnpcinfo(0));
if (!.@empty) {