mirror of
https://github.com/overte-org/overte.git
synced 2025-08-05 21:10:12 +02:00
unload baton
This commit is contained in:
parent
2dce75bfb0
commit
2bb11c5dc6
1 changed files with 2 additions and 0 deletions
|
@ -76,6 +76,8 @@
|
||||||
|
|
||||||
unload: function() {
|
unload: function() {
|
||||||
print("EBL UNLOAD");
|
print("EBL UNLOAD");
|
||||||
|
virtualBaton.release();
|
||||||
|
virtualBaton.unload();
|
||||||
Entities.deleteEntity(_this.batonDebugModel);
|
Entities.deleteEntity(_this.batonDebugModel);
|
||||||
if (_this.soundIntervalConnected === true) {
|
if (_this.soundIntervalConnected === true) {
|
||||||
Script.clearInterval(_this.playSoundInterval);
|
Script.clearInterval(_this.playSoundInterval);
|
||||||
|
|
Loading…
Reference in a new issue