Skip to content

Commit

Permalink
Fixed #5
Browse files Browse the repository at this point in the history
  • Loading branch information
ls-yannick committed Jan 2, 2013
1 parent 791ae09 commit 3f29732
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cannon.js
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ Cannon.Utils = {
cloneArray: function(array){
var a = [];
for (var i = 0, l = array.length; i < l; i++){
if (array[i] instanceof Array) a[i] = array[i].recursiveClone();
if (array[i] instanceof Array) a[i] = Cannon.Utils.cloneArray(array[i]);
else a[i] = array[i];
}

Expand Down

0 comments on commit 3f29732

Please sign in to comment.