mirror of
https://github.com/overte-org/overte.git
synced 2025-04-19 13:43:49 +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) {
|
||||
if (overlayID === HMD.homeButtonID && event.button === "Primary") {
|
||||
if (HMD.homeButtonID && overlayID === HMD.homeButtonID && event.button === "Primary") {
|
||||
Messages.sendLocalMessage("home", overlayID);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue