remove files

This commit is contained in:
PolicyChanges1@gmail.com 2021-05-24 09:36:32 -04:00
parent 0f931f37f4
commit ec67be500d
2 changed files with 2 additions and 2 deletions

2
dist/tetrion.js vendored
View File

@ -1550,7 +1550,7 @@ Tetris.prototype = {
_checkLevel: function() { _checkLevel: function() {
var currentTime = new Date().getTime(); var currentTime = new Date().getTime();
if (currentTime - this.levelTime > consts.LEVEL_INTERVAL) { if (currentTime - this.levelTime > consts.LEVEL_INTERVAL) {
this.level += 1; //this.level += 1;
this.interval = calcIntervalByLevel(this.level); this.interval = calcIntervalByLevel(this.level);
views.setLevel(this.level); views.setLevel(this.level);
this.levelTime = currentTime; this.levelTime = currentTime;

View File

@ -866,7 +866,7 @@ Tetris.prototype = {
_checkLevel: function() { _checkLevel: function() {
var currentTime = new Date().getTime(); var currentTime = new Date().getTime();
if (currentTime - this.levelTime > consts.LEVEL_INTERVAL) { if (currentTime - this.levelTime > consts.LEVEL_INTERVAL) {
this.level += 1; //this.level += 1;
this.interval = calcIntervalByLevel(this.level); this.interval = calcIntervalByLevel(this.level);
views.setLevel(this.level); views.setLevel(this.level);
this.levelTime = currentTime; this.levelTime = currentTime;