mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 01:24:03 +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();
|
||||
leftController.cleanup();
|
||||
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.update.connect(update);
|
||||
|
||||
|
|
Loading…
Reference in a new issue