mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-11-19 10:15:27 +00:00
refactor(component): vendors load their stock in LoadDataFromTemplate
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -10,6 +10,11 @@
|
||||
#include "CDMissionsTable.h"
|
||||
|
||||
AchievementVendorComponent::AchievementVendorComponent(Entity* parent, const int32_t componentID) : VendorComponent(parent, componentID) {
|
||||
}
|
||||
|
||||
// The base vendor's template load, then the achievement vendor's stock
|
||||
void AchievementVendorComponent::LoadDataFromTemplate() {
|
||||
VendorComponent::LoadDataFromTemplate();
|
||||
RefreshInventory(true);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user