summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-08-03 17:50:54 -0300
committerJesusaves <cpntb1@ymail.com>2020-08-03 17:50:54 -0300
commit4d52f088cc7094cb36ba3848a6d6c499ef4cbc03 (patch)
tree21dd5e799cc298a77fc02b909deb92fc609f08db /npc
parente17d2549315232a48b77e9327281ee8df95fb8ce (diff)
downloadserverdata-4d52f088cc7094cb36ba3848a6d6c499ef4cbc03.tar.gz
serverdata-4d52f088cc7094cb36ba3848a6d6c499ef4cbc03.tar.bz2
serverdata-4d52f088cc7094cb36ba3848a6d6c499ef4cbc03.tar.xz
serverdata-4d52f088cc7094cb36ba3848a6d6c499ef4cbc03.zip
Fix bug in Filter_Friendly
Diffstat (limited to 'npc')
-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 )