diff --git a/21g30t1e75.js b/21g30t1e75.js index b365519..f7a8702 100644 --- a/21g30t1e75.js +++ b/21g30t1e75.js @@ -235,7 +235,11 @@ GameLib.CustomCode.prototype.createFood = function(delta) { this.food.push( { type : foodType, - mesh : mesh + mesh : mesh, + position : { + x : positionX, + y : positionY + } } )