From ec67be500d65641e6d326922a11b65460458a491 Mon Sep 17 00:00:00 2001 From: "PolicyChanges1@gmail.com" Date: Mon, 24 May 2021 09:36:32 -0400 Subject: [PATCH] remove files --- dist/tetrion.js | 2 +- src/main.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/tetrion.js b/dist/tetrion.js index 19f3ffd..6e254a5 100644 --- a/dist/tetrion.js +++ b/dist/tetrion.js @@ -1550,7 +1550,7 @@ Tetris.prototype = { _checkLevel: function() { var currentTime = new Date().getTime(); if (currentTime - this.levelTime > consts.LEVEL_INTERVAL) { - this.level += 1; + //this.level += 1; this.interval = calcIntervalByLevel(this.level); views.setLevel(this.level); this.levelTime = currentTime; diff --git a/src/main.js b/src/main.js index abee6b8..de18a91 100644 --- a/src/main.js +++ b/src/main.js @@ -866,7 +866,7 @@ Tetris.prototype = { _checkLevel: function() { var currentTime = new Date().getTime(); if (currentTime - this.levelTime > consts.LEVEL_INTERVAL) { - this.level += 1; + //this.level += 1; this.interval = calcIntervalByLevel(this.level); views.setLevel(this.level); this.levelTime = currentTime;