mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 07:37:20 +02:00
fix double tablets when reloading scripts
This commit is contained in:
parent
31fc50b38c
commit
ce105e0329
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