]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fixes inventory issue introduced in f248163cf275038cd007886e8763382c6e85a25c
authorz411 <z411@omaera.org>
Fri, 23 Apr 2021 07:39:00 +0000 (03:39 -0400)
committerz411 <z411@omaera.org>
Fri, 23 Apr 2021 07:39:00 +0000 (03:39 -0400)
qcsrc/common/items/inventory.qh

index 814896874b0309c6c743d00ec8a52f439c7ba226..098394fc1f1f85c8b4c94eb9bd162e9fb0440f40 100644 (file)
@@ -160,7 +160,7 @@ bool Inventory_Send(Inventory this, Client to, int sf)
     // z411 send entity number
     WriteByte(MSG_ENTITY, etof(this.owner.m_client));
     
-    Inventory_Write(this, to.inventory_store);
+    Inventory_Write(this, this.owner.m_client.inventory_store);
     return true;
 }