From: Juhu <5894800-Juhu_@users.noreply.gitlab.com> Date: Sun, 4 Jun 2023 00:45:24 +0000 (+0200) Subject: add missing bot check in weapon complain code X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=e9ee4204b7b25ae70f50b00212d1b62f7e4c7a28;p=xonotic%2Fxonotic-data.pk3dir.git add missing bot check in weapon complain code --- diff --git a/qcsrc/server/weapons/selection.qc b/qcsrc/server/weapons/selection.qc index 0368f7f5f..d2bb32c6f 100644 --- a/qcsrc/server/weapons/selection.qc +++ b/qcsrc/server/weapons/selection.qc @@ -102,6 +102,7 @@ bool client_hasweapon(entity this, Weapon wpn, .entity weaponentity, float andam return true; } if (complain) + if(IS_REAL_CLIENT(this)) { // DRESK - 3/16/07 // Report Proper Weapon Status / Modified Weapon Ownership Message