diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-01-17 18:13:49 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-01-17 18:13:49 -0300 |
commit | a4537778f6ca03c7511db3844b65bda9c05ef692 (patch) | |
tree | fc75d14bfb065b53253ce10f5d4573747d23762b /npc | |
parent | ecbfca6ed76452e9f034370fcb1f0a3a7212132e (diff) | |
download | serverdata-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.txt | 2 |
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 |