summaryrefslogtreecommitdiff
path: root/npc/commands/rent.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2024-01-16 22:55:41 -0300
committerJesusaves <cpntb1@ymail.com>2024-01-16 22:55:41 -0300
commit09fb9d68dd8efe645772c777452e61c75367c075 (patch)
tree9c35bd64fe0a0d2ec278204359371c464c94e160 /npc/commands/rent.txt
parent3b9733fa9e62c0fb999c817e93303f26b58d5d13 (diff)
downloadserverdata-09fb9d68dd8efe645772c777452e61c75367c075.tar.gz
serverdata-09fb9d68dd8efe645772c777452e61c75367c075.tar.bz2
serverdata-09fb9d68dd8efe645772c777452e61c75367c075.tar.xz
serverdata-09fb9d68dd8efe645772c777452e61c75367c075.zip
[skip ci] Fix oversight
Diffstat (limited to 'npc/commands/rent.txt')
-rw-r--r--npc/commands/rent.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/commands/rent.txt b/npc/commands/rent.txt
index 8417a04e4..d19de1a4d 100644
--- a/npc/commands/rent.txt
+++ b/npc/commands/rent.txt
@@ -67,7 +67,7 @@ OnCraftSuper:
.@val4=atoi(.@atcmd_parameters$[13]);
.@opt5=atoi(.@atcmd_parameters$[14]);
.@val5=atoi(.@atcmd_parameters$[15]);
- getitem(.@item, 1, 1, .@refi, 0, .@crd1, .@crd2, .@crd3, .@crd4);
+ getitem2(.@item, 1, 1, .@refi, 0, .@crd1, .@crd2, .@crd3, .@crd4);
delinventorylist(); // Needed, because we'll rely on rfind()
getinventorylist();
.@index=array_rfind(@inventorylist_id, .@item);