remove files
This commit is contained in:
parent
0f931f37f4
commit
ec67be500d
2
dist/tetrion.js
vendored
2
dist/tetrion.js
vendored
@ -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;
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user