From 610814835675acb388677ee56dec187029752c8f Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 10 Apr 2021 00:32:33 -0300 Subject: Tanisha isn't deaf; But Jesusalva is a noob --- npc/functions/default_npc_checks.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/npc/functions/default_npc_checks.txt b/npc/functions/default_npc_checks.txt index 594f56af..4dc1c1f5 100755 --- a/npc/functions/default_npc_checks.txt +++ b/npc/functions/default_npc_checks.txt @@ -5,7 +5,7 @@ function script PCtoNPCRange { if(@npc_distance < 0) set @npc_distance, ATTACKRANGE; .@x=getvariableofnpc(.x, strnpcinfo(0)); .@y=getvariableofnpc(.y, strnpcinfo(0)); - if (!isin(getmap(), .@x, .@y, @npc_distance)) + if (isin(getmap(), .@x, .@y, @npc_distance)) goto L_Return; @npc_check = 1; if(@distance_handler) goto L_Return; -- cgit v1.2.3-60-g2f50