summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/042-5/ctrl.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/042-5/ctrl.txt b/npc/042-5/ctrl.txt
index f7538151a..4a4701a94 100644
--- a/npc/042-5/ctrl.txt
+++ b/npc/042-5/ctrl.txt
@@ -139,7 +139,7 @@ function script KamelotTreasure {
if (!.@empty) {
if (.@id == $KAMELOT_KEY[.@g]) {
dispbottom l("You found the key!");
- getitem KamelotKey, 1;
+ rentitem KamelotKey, 86400; // Ensure they expire after 24 hours
.@key=true;
}
.@r=rand2(10000)-$KAMELOT_MX[.@g]+100;