refactor(component): the donation vendor reads its goal and activity in LoadConfigData

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Aaron Kimbrell
2026-10-01 08:08:11 -05:00
parent 818ad152ca
commit 060517920f
2 changed files with 6 additions and 1 deletions

View File

@@ -15,7 +15,10 @@
#include "UserManager.h"
DonationVendorComponent::DonationVendorComponent(Entity* parent, const int32_t componentID) : VendorComponent(parent, componentID) {
//LoadConfigData
}
// The level config: the donation goal and activity, and the total donated so far
void DonationVendorComponent::LoadConfigData() {
m_PercentComplete = 0.0;
m_TotalDonated = 0;
m_TotalRemaining = 0;