mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-10 17:23:15 +02:00
Only grab primary clicks
This commit is contained in:
parent
34889d38c9
commit
1a375432e0
1 changed files with 2 additions and 2 deletions
|
@ -250,11 +250,11 @@
|
|||
this.cleanupOverlay();
|
||||
}
|
||||
|
||||
this.clickDownOnEntity = function () {
|
||||
this.clickDownOnEntity = function (id, event) {
|
||||
if (isInEditMode() || (MyAvatar.sessionUUID === this.getSeatUser())) {
|
||||
return;
|
||||
}
|
||||
if (this.canSitDesktop()) {
|
||||
if (event.isPrimaryButton && this.canSitDesktop()) {
|
||||
this.sitDown();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue