make sure teleport pointers are deleted

This commit is contained in:
Dante Ruiz 2017-11-14 14:09:08 -08:00
parent 54075d4c9a
commit b026cfc42f

View file

@ -449,6 +449,8 @@ Script.include("/~/system/libraries/controllers.js");
function cleanup() {
teleportMapping.disable();
leftTeleporter.cleanup();
rightTeleporter.cleanup();
disableDispatcherModule("LeftTeleporter");
disableDispatcherModule("RightTeleporter");
}