no comboTimer

This commit is contained in:
Garrett Finucane 2014-07-20 23:35:42 -04:00
parent 279313a09a
commit fa9fb102b3

View file

@ -1,4 +1,5 @@
function drawTimer() {
if(gameState==1){
var leftVertexes = [];
var rightVertexes = [];
if(MainHex.ct - MainHex.lastCombo < settings.comboTime){
@ -17,6 +18,7 @@ function drawTimer() {
}
if(rightVertexes.length !== 0) drawSide(rightVertexes);
if(leftVertexes.length !== 0) drawSide(leftVertexes);
}
}
function calcSide(startVertex,endVertex,fraction,offset){
@ -66,4 +68,4 @@ function drawSide(vertexes){
ctx.fill();
ctx.stroke();
}
}