Change param name

This commit is contained in:
FutureRave 2022-02-06 22:22:04 +00:00
parent 39812a9370
commit bc68a05b8d
No known key found for this signature in database
GPG Key ID: E883E2BC9657D955

View File

@ -5,10 +5,10 @@ namespace Components
Utils::Signal<Scheduler::Callback> Dvar::RegistrationSignal; Utils::Signal<Scheduler::Callback> Dvar::RegistrationSignal;
const char* Dvar::ArchiveDvarPath = "userraw/archivedvars.cfg"; const char* Dvar::ArchiveDvarPath = "userraw/archivedvars.cfg";
Dvar::Var::Var(const std::string& dvarName) : Var() Dvar::Var::Var(const std::string& _dvarName) : Var()
{ {
this->dvar = Game::Dvar_FindVar(dvarName.data()); this->dvar = Game::Dvar_FindVar(_dvarName.data());
this->dvarName = dvarName; this->dvarName = _dvarName;
} }
void Dvar::Var::registerDvar() void Dvar::Var::registerDvar()