summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-01-17 18:13:49 -0300
committerJesusaves <cpntb1@ymail.com>2020-01-17 18:13:49 -0300
commita4537778f6ca03c7511db3844b65bda9c05ef692 (patch)
treefc75d14bfb065b53253ce10f5d4573747d23762b /npc
parentecbfca6ed76452e9f034370fcb1f0a3a7212132e (diff)
downloadserverdata-a4537778f6ca03c7511db3844b65bda9c05ef692.tar.gz
serverdata-a4537778f6ca03c7511db3844b65bda9c05ef692.tar.bz2
serverdata-a4537778f6ca03c7511db3844b65bda9c05ef692.tar.xz
serverdata-a4537778f6ca03c7511db3844b65bda9c05ef692.zip
Make Pet Detective more resilient to OOS errors
Diffstat (limited to 'npc')
-rw-r--r--npc/017-1/pet_detective.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/017-1/pet_detective.txt b/npc/017-1/pet_detective.txt
index 7b3ec5691..3eb094fd1 100644
--- a/npc/017-1/pet_detective.txt
+++ b/npc/017-1/pet_detective.txt
@@ -12,7 +12,7 @@
goto L_Register;
// Out Of Stock
- if (!.stock)
+ if (.stock <= 0)
goto L_OutOfStock;
// Normal