bladeburner supress option now correctly updates when blade become accessible/unaccessible

This commit is contained in:
Olivier Gagnon
2021-05-17 21:17:17 -04:00
parent eb7004feaa
commit 188dcbad89
3 changed files with 7 additions and 2 deletions
-2
View File
@@ -38,8 +38,6 @@ function setSettingsLabels() {
suppressBuyAugmentationConfirmation.checked = Settings.SuppressBuyAugmentationConfirmation;
suppressHospitalizationPopup.checked = Settings.SuppressHospitalizationPopup;
suppressBladeburnerPopup.checked = Settings.SuppressBladeburnerPopup;
suppressBladeburnerPopup.closest('fieldset').style.display =
Player.canAccessBladeburner() ? 'block' : 'none';
setAutosaveLabel(autosaveInterval);
disableHotkeys.checked = Settings.DisableHotkeys;
disableASCIIArt.checked = Settings.CityListView;