diff --git a/21g30t1e75.js b/21g30t1e75.js index 95d327e..65ce48f 100644 --- a/21g30t1e75.js +++ b/21g30t1e75.js @@ -757,7 +757,10 @@ GameLib.CustomCode.prototype.extend = function(gameObject, position, orientation body = this.createGameObject( GameLib.CustomCode.OBJECT_TYPE_SNAKE_BODY, GameLib.CustomCode.BODY_TYPE_BREAD_BACON, - position, + { + x : position.x, + y : position.y + }, orientation ) break; @@ -765,7 +768,10 @@ GameLib.CustomCode.prototype.extend = function(gameObject, position, orientation body = this.createGameObject( GameLib.CustomCode.OBJECT_TYPE_SNAKE_BODY, GameLib.CustomCode.BODY_TYPE_BREAD_CHEESE, - position, + { + x : position.x, + y : position.y + }, orientation ) break; @@ -773,7 +779,10 @@ GameLib.CustomCode.prototype.extend = function(gameObject, position, orientation body = this.createGameObject( GameLib.CustomCode.OBJECT_TYPE_SNAKE_BODY, GameLib.CustomCode.BODY_TYPE_BREAD_ONION, - position, + { + x : position.x, + y : position.y + }, orientation ) break; @@ -781,7 +790,10 @@ GameLib.CustomCode.prototype.extend = function(gameObject, position, orientation body = this.createGameObject( GameLib.CustomCode.OBJECT_TYPE_SNAKE_BODY, GameLib.CustomCode.BODY_TYPE_BREAD_ONION_RING, - position, + { + x : position.x, + y : position.y + }, orientation ) break; @@ -789,7 +801,10 @@ GameLib.CustomCode.prototype.extend = function(gameObject, position, orientation body = this.createGameObject( GameLib.CustomCode.OBJECT_TYPE_SNAKE_BODY, GameLib.CustomCode.BODY_TYPE_BREAD_PATTY, - position, + { + x : position.x, + y : position.y + }, orientation ) break; @@ -797,7 +812,10 @@ GameLib.CustomCode.prototype.extend = function(gameObject, position, orientation body = this.createGameObject( GameLib.CustomCode.OBJECT_TYPE_SNAKE_BODY, GameLib.CustomCode.BODY_TYPE_BREAD_TOMATO, - position, + { + x : position.x, + y : position.y + }, orientation ) break;