summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/functions/lockpicks.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/functions/lockpicks.txt b/npc/functions/lockpicks.txt
index 0933d0c35..387145893 100644
--- a/npc/functions/lockpicks.txt
+++ b/npc/functions/lockpicks.txt
@@ -41,7 +41,7 @@ function script LockPicking {
// Create @pins array (the answer)
for (.@i=0; .@i < .@d;.@i++)
- @pins[.@i] = rand(1,.@m);
+ @pins[.@i] = rand2(1,.@m);
// Check if you'll try to open it.
mesc l("This lock is simple, maybe with your thief skills you can manage to pry it open. But beware, you can end up in jail!");