mirror of
https://github.com/overte-org/overte.git
synced 2025-04-14 04:07: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() {
|
||||
teleportMapping.disable();
|
||||
leftTeleporter.cleanup();
|
||||
rightTeleporter.cleanup();
|
||||
disableDispatcherModule("LeftTeleporter");
|
||||
disableDispatcherModule("RightTeleporter");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue