From a4537778f6ca03c7511db3844b65bda9c05ef692 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 17 Jan 2020 18:13:49 -0300 Subject: Make Pet Detective more resilient to OOS errors --- npc/017-1/pet_detective.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'npc') 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 -- cgit v1.2.3-60-g2f50