From: z411 Date: Fri, 23 Apr 2021 07:39:00 +0000 (-0400) Subject: Fixes inventory issue introduced in f248163cf275038cd007886e8763382c6e85a25c X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=10dea0fc8899b909d4c812c05089735d854fa35d;p=xonotic%2Fxonotic-data.pk3dir.git Fixes inventory issue introduced in f248163cf275038cd007886e8763382c6e85a25c --- diff --git a/qcsrc/common/items/inventory.qh b/qcsrc/common/items/inventory.qh index 814896874..098394fc1 100644 --- a/qcsrc/common/items/inventory.qh +++ b/qcsrc/common/items/inventory.qh @@ -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; }