you dont spell parent parrent

This commit is contained in:
garrettdreyfus 2014-05-25 22:29:34 -04:00
parent 58d8016a28
commit 6ef7f09da7

View file

@ -57,7 +57,7 @@ function Block(fallingLane, color, iter, distFromHex, settled) {
this.getIndex = function (){
//get the index of the block in its stack
var parrentArr = MainClock.blocks[this.attachedLane]
var parentArr = MainClock.blocks[this.attachedLane]
for (var i = 0; i < parentArr.length; i++) {
if (parentArr[i] == this) {
return i;