mirror of
https://github.com/overte-org/overte.git
synced 2025-04-15 19:39:20 +02:00
use the correct property name for useAdvancedMovementControls
This commit is contained in:
parent
bfc51d8222
commit
d13752a7c6
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.advancedMovementControls = true;
|
||||
MyAvatar.useAdvancedMovementControls = true;
|
||||
disableMappings();
|
||||
} else if (isChecked === false) {
|
||||
MyAvatar.advancedMovementControls = false;
|
||||
MyAvatar.useAdvancedMovementControls = false;
|
||||
enableMappings();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue