mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-11-29 04:42: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) {
|
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