From: Mario Date: Mon, 17 Oct 2016 17:35:38 +0000 (+1000) Subject: Only send wepent to its owner client X-Git-Tag: xonotic-v0.8.2~326^2~40 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=6cd37abf8ef3c8a3b591f6b9f11dd051325efd27;p=xonotic%2Fxonotic-data.pk3dir.git Only send wepent to its owner client --- diff --git a/qcsrc/common/wepent.qc b/qcsrc/common/wepent.qc index b9bcb737d..fa6c37d7a 100644 --- a/qcsrc/common/wepent.qc +++ b/qcsrc/common/wepent.qc @@ -125,6 +125,7 @@ MACRO_END e.owner = wep; setthink(e, wepent_think); e.nextthink = time; + e.drawonlytoclient = wep.owner; Net_LinkEntity(e, false, 0, wepent_send); }