Update: CC - Snake FS - Entity Loaded (21g30t1e75.js) 93 bytes modified

beta.r3js.org
-=yb4f310 2018-03-24 21:33:33 +01:00
parent f277b0308e
commit df47fa0df5
1 changed files with 9 additions and 2 deletions

View File

@ -1517,7 +1517,7 @@ GameLib.CustomCode.prototype.restore = function() {
/**
* Move the snake forward and do collision detection
* @type {function(this:snakeEntityLoaded)}
*/
*/Move
GameLib.CustomCode.prototype.advanceSnake = function(delta) {
if (this.state.exploding) {
@ -1535,7 +1535,14 @@ GameLib.CustomCode.prototype.advanceSnake = function(delta) {
var backup = null;
var temp = null;
var advanced = false;
GameLib.Event.Emit(
GameLib.Event.PLAY_AUDIO,
{
name : 'Audio - Move'
}
);
this.snake.map(
function(body, index) {