summaryrefslogtreecommitdiff
path: root/npc/functions/inventoryplace.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-05-02 10:55:27 -0300
committerJesusaves <cpntb1@ymail.com>2019-05-02 10:55:27 -0300
commit46bbdfe15230da4d8abe41faf04c32fb42c3ad84 (patch)
tree55f277983d2f547fce985956daab75b5533c382f /npc/functions/inventoryplace.txt
parent9a348a1fadefb5481f08b4891091fdabd6abc4ec (diff)
downloadserverdata-46bbdfe15230da4d8abe41faf04c32fb42c3ad84.tar.gz
serverdata-46bbdfe15230da4d8abe41faf04c32fb42c3ad84.tar.bz2
serverdata-46bbdfe15230da4d8abe41faf04c32fb42c3ad84.tar.xz
serverdata-46bbdfe15230da4d8abe41faf04c32fb42c3ad84.zip
Use Exception() in some places
Diffstat (limited to 'npc/functions/inventoryplace.txt')
-rw-r--r--npc/functions/inventoryplace.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/npc/functions/inventoryplace.txt b/npc/functions/inventoryplace.txt
index 4a5e08cad..76cdad21f 100644
--- a/npc/functions/inventoryplace.txt
+++ b/npc/functions/inventoryplace.txt
@@ -13,8 +13,7 @@ function script inventoryplace {
if (.@argc % 2 != 0)
{
- debugmes "inventoryplace: Wrong argument count.";
- close;
+ Exception("inventoryplace: Wrong argument count.", RB_SPEECH|RB_ISFATAL|RB_PLEASEREPORT|RB_DEBUGMES);
}
for (.@i = .@j = 0; .@i < .@argc; .@i += 2)