Update: CC - Snake FS - Entity Loaded (21g30t1e75.js) 38 bytes modified
parent
94f9cf2407
commit
0c22706677
|
@ -250,6 +250,7 @@ GameLib.CustomCode.prototype.waitReload = function(delta) {
|
|||
this.state.exploding = false;
|
||||
|
||||
if (this.state.lives <= 0) {
|
||||
this.restore();
|
||||
this.gameOver(false);
|
||||
return;
|
||||
}
|
||||
|
@ -1161,6 +1162,8 @@ GameLib.CustomCode.prototype.extend = function(gameObject, position, orientation
|
|||
|
||||
this.speed -= this.extendSpeedGrain;
|
||||
|
||||
if (this.speed <
|
||||
|
||||
console.log('speed = ' + this.speed);
|
||||
|
||||
}.bind(this);
|
||||
|
|
Loading…
Reference in New Issue