mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 09:57:26 +02:00
A further guard
This commit is contained in:
parent
b1f49be790
commit
2ff78493db
1 changed files with 1 additions and 1 deletions
|
@ -479,7 +479,7 @@ Script.include("/~/system/libraries/controllerDispatcherUtils.js");
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
function mouseReleaseOnOverlay(overlayID, event) {
|
function mouseReleaseOnOverlay(overlayID, event) {
|
||||||
if (overlayID === HMD.homeButtonID && event.button === "Primary") {
|
if (HMD.homeButtonID && overlayID === HMD.homeButtonID && event.button === "Primary") {
|
||||||
Messages.sendLocalMessage("home", overlayID);
|
Messages.sendLocalMessage("home", overlayID);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue