From 843a5b39c08f9cdccfabb05d6ea514354cb9954f Mon Sep 17 00:00:00 2001 From: EmosewaMC <39972741+EmosewaMC@users.noreply.github.com> Date: Wed, 27 Apr 2022 01:35:46 -0700 Subject: [PATCH] Vendor refresh change Changed vendor refresh to happen as soon as it is able to. --- dGame/dComponents/VendorComponent.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/dGame/dComponents/VendorComponent.cpp b/dGame/dComponents/VendorComponent.cpp index 39558774..6a8e7356 100644 --- a/dGame/dComponents/VendorComponent.cpp +++ b/dGame/dComponents/VendorComponent.cpp @@ -114,6 +114,7 @@ void VendorComponent::RefreshInventory(bool isCreation) { m_Parent->AddCallbackTimer(m_RefreshTimeSeconds, [this]() { RefreshInventory(); }); + GameMessages::SendVendorStatusUpdate(m_Parent, UNASSIGNED_SYSTEM_ADDRESS); } void VendorComponent::SetupConstants() {