mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 04:44:11 +02:00
use property not function for advanced movement controls
This commit is contained in:
parent
7ddb5ff770
commit
bfc51d8222
1 changed files with 2 additions and 2 deletions
|
@ -109,10 +109,10 @@ function menuItemEvent(menuItem) {
|
|||
if (menuItem == MENU_ITEM_NAME) {
|
||||
isChecked = Menu.isOptionChecked(MENU_ITEM_NAME);
|
||||
if (isChecked === true) {
|
||||
MyAvatar.setUseAdvancedMovementControls(true);
|
||||
MyAvatar.advancedMovementControls = true;
|
||||
disableMappings();
|
||||
} else if (isChecked === false) {
|
||||
MyAvatar.setUseAdvancedMovementControls(false);
|
||||
MyAvatar.advancedMovementControls = false;
|
||||
enableMappings();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue