mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-25 23:17:28 +00:00
Vendor refresh change
Changed vendor refresh to happen as soon as it is able to.
This commit is contained in:
parent
fa7c4d9c27
commit
843a5b39c0
@ -114,6 +114,7 @@ void VendorComponent::RefreshInventory(bool isCreation) {
|
|||||||
m_Parent->AddCallbackTimer(m_RefreshTimeSeconds, [this]() {
|
m_Parent->AddCallbackTimer(m_RefreshTimeSeconds, [this]() {
|
||||||
RefreshInventory();
|
RefreshInventory();
|
||||||
});
|
});
|
||||||
|
GameMessages::SendVendorStatusUpdate(m_Parent, UNASSIGNED_SYSTEM_ADDRESS);
|
||||||
}
|
}
|
||||||
|
|
||||||
void VendorComponent::SetupConstants() {
|
void VendorComponent::SetupConstants() {
|
||||||
|
Loading…
Reference in New Issue
Block a user