Vendor refresh change

Changed vendor refresh to happen as soon as it is able to.
This commit is contained in:
EmosewaMC 2022-04-27 01:35:46 -07:00
parent fa7c4d9c27
commit 843a5b39c0

View File

@ -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() {