mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-20 13:23:45 -07:00
rename cvar
This commit is contained in:
parent
929826a19f
commit
8b92c64bd6
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||||
|
|
|
@ -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"));
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue