summaryrefslogtreecommitdiff
path: root/npc/items/shovel.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/items/shovel.txt')
-rw-r--r--npc/items/shovel.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/items/shovel.txt b/npc/items/shovel.txt
index 3c6e23b88..6ed100dff 100644
--- a/npc/items/shovel.txt
+++ b/npc/items/shovel.txt
@@ -48,7 +48,7 @@ function script shovel_scatter {
do {
freeloop(true); // DANGEROUS
for (.@i = 0; .@i < .@amount; .@i++)
- shovel_scriptItem(.@map$, rand(.@x1,.@x2), rand(.@y1,.@y2), getarg(rand(getargcount()-6)+6));
+ shovel_scriptItem(.@map$, rand(.@x1,.@x2), rand(.@y1,.@y2), getarg(rand2(getargcount()-6)+6));
freeloop(false);
.@wtc = getarraysize($@WBT_Random_id); // wtc - current