]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
fragsFilter: Check above or equal score, instead of equal
authorMario <zacjardine@y7mail.com>
Mon, 17 Sep 2018 08:09:16 +0000 (18:09 +1000)
committerMario <zacjardine@y7mail.com>
Mon, 17 Sep 2018 08:09:16 +0000 (18:09 +1000)
qcsrc/server/compat/quake3.qc

index db73a20c725c32347af1bd0f7b3047b876d8a105..4f5c242c09aa5847f3be769a783af174e3796afa 100644 (file)
@@ -203,7 +203,7 @@ void fragsfilter_use(entity this, entity actor, entity trigger)
 {
        if(!IS_PLAYER(actor))
                return;
-       if(actor.fragsfilter_cnt == this.frags)
+       if(actor.fragsfilter_cnt >= this.frags)
                SUB_UseTargets(this, actor, trigger);
 }
 spawnfunc(target_fragsFilter)