Update: CC - Snake FS - Entity Loaded (21g30t1e75.js) 35 bytes modified
parent
bed4ed6ece
commit
906e5a6173
|
@ -1300,7 +1300,9 @@ GameLib.CustomCode.prototype.extend = function(gameObject, position, orientation
|
|||
this.animation.translationSpeed = GameLib.CustomCode.MAX_ANIMATION_SPEED;
|
||||
}
|
||||
|
||||
this.state.score += (1 - this.speed) * 21;
|
||||
this.state.score += Math.round((1 - this.speed) * 210);
|
||||
|
||||
this.displayHUD();
|
||||
|
||||
//console.log('speed = ' + this.speed);
|
||||
|
||||
|
|
Loading…
Reference in New Issue