Update: CC - Bacon - Before Render (o4c478xpx3.js) 268 bytes modified
parent
f10596e14e
commit
8368f37554
|
@ -11,8 +11,14 @@ 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
|
||||
*/
|
||||
this.waiting = false;
|
||||
|
||||
this.animation = this.entityLoaded.animation;
|
||||
|
||||
this.drop = false;
|
||||
|
||||
this.moveQueue = [];
|
||||
|
@ -57,6 +63,9 @@ if (this.totalTime > this.entityLoaded.speed) {
|
|||
}
|
||||
|
||||
if (fall) {
|
||||
|
||||
this.animation.translationSpeed = 50;
|
||||
|
||||
moved = this.moveBlock(null, {down: true}, 1, true);
|
||||
}
|
||||
|
||||
|
@ -73,6 +82,8 @@ if (moved === false) {
|
|||
this.moveQueue = [];
|
||||
|
||||
this.stopBlock();
|
||||
|
||||
this.animation.translationSpeed = 10;
|
||||
}
|
||||
|
||||
//@ sourceURL=beforeRender.js
|
Loading…
Reference in New Issue