Update: CC - Bacon - Before Render (o4c478xpx3.js) 20 bytes modified

beta.r3js.org
-=yb4f310 2018-02-18 18:25:07 +01:00
parent 4b6f97544b
commit 1d66189625
1 changed files with 13 additions and 15 deletions

View File

@ -1,4 +1,3 @@
if (!this.entityLoaded) {
return;
}
@ -11,16 +10,16 @@ if (!this.initialized) {
this.totalTime = 0;
/**
* Waiting means - this block is on top of some blocks which are busy disappearing
* - so wait for the fall to complete
*/
/**
* Waiting means - this block is on top of some blocks which are busy disappearing
* - so wait for the fall to complete
*/
this.waiting = false;
this.animation = this.entityLoaded.animation;
this.translationSpeed = this.animation.translationSpeed;
this.animation = this.entityLoaded.animation;
this.translationSpeed = this.animation.translationSpeed;
this.drop = false;
this.moveQueue = [];
@ -39,6 +38,8 @@ if (this.waiting) {
if (this.drop) {
this.animation.translationSpeed = 70;
fall = true;
if (this.moveQueue && this.moveQueue.length > 0) {
@ -65,9 +66,6 @@ if (this.totalTime > this.entityLoaded.speed) {
}
if (fall) {
this.animation.translationSpeed = 70;
moved = this.moveBlock(null, {down: true}, 1, true);
}
@ -82,10 +80,10 @@ if (moved === false) {
this.drop = false;
this.moveQueue = [];
this.stopBlock();
this.animation.translationSpeed = this.translationSpeed;
this.animation.translationSpeed = this.translationSpeed;
}
//@ sourceURL=beforeRender.js