mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 09:48:44 +02:00
Merge pull request #9836 from druiz17/2-tablets-fix
Fixed having more than one tablet when reloading scripts
This commit is contained in:
commit
007ed9fe81
1 changed files with 3 additions and 1 deletions
|
@ -131,7 +131,9 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
Script.scriptEnding.connect(function () {
|
Script.scriptEnding.connect(function () {
|
||||||
Entities.deleteEntity(HMD.tabletID);
|
var tabletID = HMD.tabletID;
|
||||||
|
Entities.deleteEntity(tabletID);
|
||||||
|
Overlays.deleteOverlay(tabletID)
|
||||||
HMD.tabletID = null;
|
HMD.tabletID = null;
|
||||||
HMD.homeButtonID = null;
|
HMD.homeButtonID = null;
|
||||||
HMD.tabletScreenID = null;
|
HMD.tabletScreenID = null;
|
||||||
|
|
Loading…
Reference in a new issue