From 45c082bdbc70ebf4dd159595aa2533a17d504e24 Mon Sep 17 00:00:00 2001 From: Garrett Finucane Date: Tue, 19 Aug 2014 00:04:50 -0400 Subject: [PATCH] fixing infinite growth --- js/Block.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/Block.js b/js/Block.js index 97e316f..592042c 100644 --- a/js/Block.js +++ b/js/Block.js @@ -106,7 +106,7 @@ function Block(fallingLane, color, iter, distFromHex, settled) { p2 = rotatePoint((this.width / 2) * rat, this.height / 2, this.angle); p3 = rotatePoint((this.widthWide / 2) * rat, -this.height / 2, this.angle); p4 = rotatePoint((-this.widthWide / 2) * rat, -this.height / 2, this.angle); - if ((MainHex.ct - this.ict) == this.initLen) { + if ((MainHex.ct - this.ict) >= this.initLen) { this.initializing = 0; } } else {