Core/ConfigManager: Rename Track to UpdateTrack

This commit is contained in:
spycrab 2018-05-02 17:23:41 +02:00
parent 71c8c65e6f
commit a984d18a14
1 changed files with 2 additions and 2 deletions

View File

@ -374,7 +374,7 @@ void SConfig::SaveAutoUpdateSettings(IniFile& ini)
{
IniFile::Section* section = ini.GetOrCreateSection("AutoUpdate");
section->Set("Track", m_auto_update_track);
section->Set("UpdateTrack", m_auto_update_track);
section->Set("HashOverride", m_auto_update_hash_override);
}
@ -682,7 +682,7 @@ void SConfig::LoadAutoUpdateSettings(IniFile& ini)
{
IniFile::Section* section = ini.GetOrCreateSection("AutoUpdate");
section->Get("Track", &m_auto_update_track, SCM_UPDATE_TRACK_STR);
section->Get("UpdateTrack", &m_auto_update_track, SCM_UPDATE_TRACK_STR);
section->Get("HashOverride", &m_auto_update_hash_override, "");
}