mirror of
https://github.com/AleziaKurdis/overte.git
synced 2025-04-08 06:32:35 +02:00
Fix mini tablet JavaScript crash
This commit is contained in:
parent
5e01314d85
commit
f47f77b181
1 changed files with 2 additions and 1 deletions
|
@ -1006,7 +1006,8 @@
|
|||
return;
|
||||
}
|
||||
|
||||
if (message.grabbedEntity !== HMD.tabletID && message.grabbedEntity !== ui.getMiniTabletID()) {
|
||||
if (miniState.getState() === miniState.MINI_DISABLED
|
||||
|| message.grabbedEntity !== HMD.tabletID && message.grabbedEntity !== ui.getMiniTabletID()) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue