mirror of
https://github.com/AleziaKurdis/overte.git
synced 2025-04-07 13:12:39 +02:00
Removed unused check
This commit is contained in:
parent
5aab3f3cf3
commit
79603765c4
1 changed files with 7 additions and 14 deletions
|
@ -240,20 +240,13 @@ module.exports = {
|
|||
isChecked: settingParticlesOn
|
||||
});
|
||||
}
|
||||
if (HMD.active) {
|
||||
if (!Menu.menuItemExists(CLAP_MENU, ENABLE_DEBUG_MENU)) {
|
||||
Menu.addMenuItem({
|
||||
menuName: CLAP_MENU,
|
||||
menuItemName: ENABLE_DEBUG_MENU,
|
||||
isCheckable: true,
|
||||
isChecked: settingDebug
|
||||
});
|
||||
}
|
||||
} else {
|
||||
ClapDebugger.disableDebug();
|
||||
if (Menu.menuItemExists(CLAP_MENU, ENABLE_DEBUG_MENU)) {
|
||||
Menu.removeMenuItem(CLAP_MENU, ENABLE_DEBUG_MENU);
|
||||
}
|
||||
if (!Menu.menuItemExists(CLAP_MENU, ENABLE_DEBUG_MENU)) {
|
||||
Menu.addMenuItem({
|
||||
menuName: CLAP_MENU,
|
||||
menuItemName: ENABLE_DEBUG_MENU,
|
||||
isCheckable: true,
|
||||
isChecked: settingDebug
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue