mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-11-28 20:32:18 -05:00
Make ConfigUpdaterV2 use CVarClearBlock instead of manually scanning. (#4435)
This commit is contained in:
parent
dba74f8805
commit
5a23da4ce0
@ -66,9 +66,7 @@ namespace SOH {
|
||||
}
|
||||
|
||||
void ConfigVersion2Updater::Update(Ship::Config* conf) {
|
||||
for (auto seq : AudioCollection::Instance->GetAllSequences()) {
|
||||
CVarClear(std::string("gAudioEditor.ReplacedSequences." + seq.second.sfxKey).c_str());
|
||||
}
|
||||
CVarClearBlock("gAudioEditor.ReplacedSequences");
|
||||
}
|
||||
|
||||
void ConfigVersion3Updater::Update(Ship::Config* conf) {
|
||||
|
Loading…
Reference in New Issue
Block a user