From ef7773bdec6f331313d535e8b712afc6485fc4c1 Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Thu, 22 Mar 2018 15:35:06 +0100 Subject: [PATCH] Update: CC - Snake FS - Entity Loaded (21g30t1e75.js) 228 bytes modified --- 21g30t1e75.js | 30 ++++++++++++++++++++++++------ 1 file changed, 24 insertions(+), 6 deletions(-) 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;