mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-20 05:13:39 -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->glossary = new AudioGlossaryData();
|
||||
aa->isOn = CVarGetInteger("gA11yAudioInteraction", 0);
|
||||
aa->isOn = CVarGetInteger(CVAR_SETTING("A11yAudioInteraction"), 0);
|
||||
if (!aa->isOn)
|
||||
return;
|
||||
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."));
|
||||
|
||||
AddWidget(path, "Accessible Audio Cues", WIDGET_CVAR_CHECKBOX)
|
||||
.CVar("gA11yAudioInteraction")
|
||||
.CVar(CVAR_SETTING("A11yAudioInteraction"))
|
||||
.RaceDisable(false)
|
||||
.Options(CheckboxOptions().Tooltip("Enables accessibility audio cues"));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue