From 4d52f088cc7094cb36ba3848a6d6c499ef4cbc03 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 3 Aug 2020 17:50:54 -0300 Subject: Fix bug in Filter_Friendly --- npc/functions/filters.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'npc/functions/filters.txt') diff --git a/npc/functions/filters.txt b/npc/functions/filters.txt index ff2a2dbf9..fd9928647 100644 --- a/npc/functions/filters.txt +++ b/npc/functions/filters.txt @@ -116,7 +116,7 @@ function script filter_hostile { // filter_friendly( id ) function script filter_friendly { - return !(filter_hostile(.@chkid)); + return !(filter_hostile(getarg(0))); } // filter_notboss( id ) -- cgit v1.2.3-60-g2f50