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 = new ActorAccessibility();
aa->glossary = new AudioGlossaryData(); aa->glossary = new AudioGlossaryData();
aa->isOn = CVarGetInteger("gA11yAudioInteraction", 0); aa->isOn = CVarGetInteger(CVAR_SETTING("A11yAudioInteraction"), 0);
if (!aa->isOn) if (!aa->isOn)
return; return;
aa->extractSfx = CVarGetInteger("gExtractSfx", 0); 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.")); .Options(CheckboxOptions().Tooltip("Disables the automatic re-centering of the camera when idle."));
AddWidget(path, "Accessible Audio Cues", WIDGET_CVAR_CHECKBOX) AddWidget(path, "Accessible Audio Cues", WIDGET_CVAR_CHECKBOX)
.CVar("gA11yAudioInteraction") .CVar(CVAR_SETTING("A11yAudioInteraction"))
.RaceDisable(false) .RaceDisable(false)
.Options(CheckboxOptions().Tooltip("Enables accessibility audio cues")); .Options(CheckboxOptions().Tooltip("Enables accessibility audio cues"));