diff options
Diffstat (limited to 'npc/functions/inventoryplace.txt')
-rw-r--r-- | npc/functions/inventoryplace.txt | 3 |
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) |