]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Set the owner's stat, not the item's.
authorMircea Kitsune <sonichedgehog_hyperblast00@yahoo.com>
Sat, 30 Oct 2010 14:18:04 +0000 (17:18 +0300)
committerMircea Kitsune <sonichedgehog_hyperblast00@yahoo.com>
Sat, 30 Oct 2010 14:18:04 +0000 (17:18 +0300)
qcsrc/server/t_items.qc

index 65e9a504485e45f5054b969bb2347f45496073c2..0f59d6e3bbf98e20f00d46af7bc416302ad2bd87 100644 (file)
@@ -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);