Skip to content

Commit

Permalink
fix leaked variable
Browse files Browse the repository at this point in the history
  • Loading branch information
brianpeiris committed Nov 15, 2016
1 parent a8bca42 commit 7cf5449
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utilities/shims/behaviors.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ THREE.Scene.prototype.updateAllBehaviors = function () {
});

for (var i = 0, max = objectsWithBehaviors.length; i < max; i++) {
object3d = objectsWithBehaviors[i];
var object3d = objectsWithBehaviors[i];
object3d.updateBehaviors(deltaTime, self);
}

Expand Down

0 comments on commit 7cf5449

Please sign in to comment.