From: Mircea Kitsune Date: Sat, 30 Oct 2010 14:18:04 +0000 (+0300) Subject: Set the owner's stat, not the item's. X-Git-Tag: xonotic-v0.1.0preview~224^2~9 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=d6b7cef4bca98370c1305bf0531d1e83445cf697;p=xonotic%2Fxonotic-data.pk3dir.git Set the owner's stat, not the item's. --- diff --git a/qcsrc/server/t_items.qc b/qcsrc/server/t_items.qc index 65e9a5044..0f59d6e3b 100644 --- a/qcsrc/server/t_items.qc +++ b/qcsrc/server/t_items.qc @@ -489,7 +489,7 @@ void Item_Touch (void) if(!Item_GiveTo(self, other)) return; - self.stat_pickup_crosshair = time; + self.owner.stat_pickup_crosshair = time; pointparticles(particleeffectnum("item_pickup"), self.origin, '0 0 0', 1);