diff --git a/21g30t1e75.js b/21g30t1e75.js index 8172741..472cea2 100644 --- a/21g30t1e75.js +++ b/21g30t1e75.js @@ -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) {