mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-10-31 23:55:06 -04: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) {
|
void ConfigVersion2Updater::Update(Ship::Config* conf) {
|
||||||
for (auto seq : AudioCollection::Instance->GetAllSequences()) {
|
CVarClearBlock("gAudioEditor.ReplacedSequences");
|
||||||
CVarClear(std::string("gAudioEditor.ReplacedSequences." + seq.second.sfxKey).c_str());
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void ConfigVersion3Updater::Update(Ship::Config* conf) {
|
void ConfigVersion3Updater::Update(Ship::Config* conf) {
|
||||||
|
Loading…
Reference in New Issue
Block a user