From 10dea0fc8899b909d4c812c05089735d854fa35d Mon Sep 17 00:00:00 2001 From: z411 Date: Fri, 23 Apr 2021 03:39:00 -0400 Subject: [PATCH] Fixes inventory issue introduced in f248163cf275038cd007886e8763382c6e85a25c --- qcsrc/common/items/inventory.qh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.2