]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/t_items.qc
other, not self.owner. Code is now functional and working as intended
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / t_items.qc
index 0f59d6e3bbf98e20f00d46af7bc416302ad2bd87..b8c6404c9a7dbd80021a740f1ba8c2ed4deaa4ac 100644 (file)
@@ -489,7 +489,7 @@ void Item_Touch (void)
        if(!Item_GiveTo(self, other))
                return;
 
-       self.owner.stat_pickup_crosshair = time;
+       other.stat_pickup_crosshair = time;
 
        pointparticles(particleeffectnum("item_pickup"), self.origin, '0 0 0', 1);