summaryrefslogtreecommitdiff
path: root/npc/functions/lockpicks.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/functions/lockpicks.txt')
-rw-r--r--npc/functions/lockpicks.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/npc/functions/lockpicks.txt b/npc/functions/lockpicks.txt
index ddb14cbd2..0933d0c35 100644
--- a/npc/functions/lockpicks.txt
+++ b/npc/functions/lockpicks.txt
@@ -114,7 +114,8 @@ function script LockPicking {
} while (true);
// Failed
- THIEF_EXP += 1;
+ if (THIEF_RANK)
+ THIEF_EXP += 1;
return 0;
}