mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 12:37:51 +02:00
disconnect
This commit is contained in:
parent
58257b00e7
commit
40aee910d7
1 changed files with 3 additions and 1 deletions
|
@ -1856,8 +1856,10 @@ function cleanup() {
|
||||||
rightController.cleanup();
|
rightController.cleanup();
|
||||||
leftController.cleanup();
|
leftController.cleanup();
|
||||||
Controller.disableMapping(MAPPING_NAME);
|
Controller.disableMapping(MAPPING_NAME);
|
||||||
|
if (USE_PARTICLE_BEAM_FOR_SEARCHING === true || USE_PARTICLE_BEAM_FOR_MOVING === true) {
|
||||||
|
Script.update.disconnect(renewParticleBeamLifetimes);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Script.scriptEnding.connect(cleanup);
|
Script.scriptEnding.connect(cleanup);
|
||||||
Script.update.connect(update);
|
Script.update.connect(update);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue