Shipwright/soh/soh/config
Malkierian 39a7437fc8
[Bugfix] Prevent crash in audio editor when shuffling over old CVar format (#3337)
* Add a `CVarClear` inside the check for a sequence's lock to get rid of old data.

* Rework all replacement and lock `CVarSetInteger` calls to call a function which checks for previous format with `CVarGet` to know if it needs clearing before setting either the lock or the sequence

* Swapped everything over to a migrator where it loops through the `sequenceMap` and just clears everything from there in "gAudioEditor.ReplacedSequences"
2023-11-05 08:57:59 +01:00
..
ConfigUpdaters.cpp [Bugfix] Prevent crash in audio editor when shuffling over old CVar format (#3337) 2023-11-05 08:57:59 +01:00
ConfigUpdaters.h [Bugfix] Prevent crash in audio editor when shuffling over old CVar format (#3337) 2023-11-05 08:57:59 +01:00