mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 23:40:11 +02:00
make sure teleport pointers are deleted
This commit is contained in:
parent
54075d4c9a
commit
b026cfc42f
1 changed files with 2 additions and 0 deletions
|
@ -449,6 +449,8 @@ Script.include("/~/system/libraries/controllers.js");
|
||||||
|
|
||||||
function cleanup() {
|
function cleanup() {
|
||||||
teleportMapping.disable();
|
teleportMapping.disable();
|
||||||
|
leftTeleporter.cleanup();
|
||||||
|
rightTeleporter.cleanup();
|
||||||
disableDispatcherModule("LeftTeleporter");
|
disableDispatcherModule("LeftTeleporter");
|
||||||
disableDispatcherModule("RightTeleporter");
|
disableDispatcherModule("RightTeleporter");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue