summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/functions/filters.txt2
1 files changed, 1 insertions, 1 deletions
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 )