rename cvar

This commit is contained in:
Demur Rumed 2025-04-20 23:32:06 +00:00
commit 8b92c64bd6
2 changed files with 2 additions and 2 deletions

View file

@ -132,7 +132,7 @@ void ActorAccessibility_Init() {
aa = new ActorAccessibility();
aa->glossary = new AudioGlossaryData();
aa->isOn = CVarGetInteger("gA11yAudioInteraction", 0);
aa->isOn = CVarGetInteger(CVAR_SETTING("A11yAudioInteraction"), 0);
if (!aa->isOn)
return;
aa->extractSfx = CVarGetInteger("gExtractSfx", 0);

View file

@ -197,7 +197,7 @@ void SohMenu::AddMenuSettings() {
.Options(CheckboxOptions().Tooltip("Disables the automatic re-centering of the camera when idle."));
AddWidget(path, "Accessible Audio Cues", WIDGET_CVAR_CHECKBOX)
.CVar("gA11yAudioInteraction")
.CVar(CVAR_SETTING("A11yAudioInteraction"))
.RaceDisable(false)
.Options(CheckboxOptions().Tooltip("Enables accessibility audio cues"));