mirror of
https://github.com/lubosz/overte.git
synced 2025-04-16 09:46:29 +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 () {
|
||||
Entities.deleteEntity(HMD.tabletID);
|
||||
var tabletID = HMD.tabletID;
|
||||
Entities.deleteEntity(tabletID);
|
||||
Overlays.deleteOverlay(tabletID)
|
||||
HMD.tabletID = null;
|
||||
HMD.homeButtonID = null;
|
||||
HMD.tabletScreenID = null;
|
||||
|
|
Loading…
Reference in a new issue