From e119b87befab9d2d75ff68eaaca7b5121f0d2981 Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Thu, 22 Mar 2018 19:40:39 +0100 Subject: [PATCH] Update: CC - Snake FS - Entity Loaded (21g30t1e75.js) 14 bytes modified --- 21g30t1e75.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/21g30t1e75.js b/21g30t1e75.js index 6c4a84d..c7b9b19 100644 --- a/21g30t1e75.js +++ b/21g30t1e75.js @@ -539,8 +539,8 @@ GameLib.CustomCode.prototype.createGameObject = function( */ if ( - currentGameObject.objectType === GameLib.CustomCode.OBJECT_TYPE_POWERUP || - currentGameObject.objectType === GameLib.CustomCode.OBJECT_TYPE_FOOD + gameObject.objectType === GameLib.CustomCode.OBJECT_TYPE_POWERUP || + gameObject.objectType === GameLib.CustomCode.OBJECT_TYPE_FOOD ) { /** * Food and powerups automatically get added, snake bodys need careful insertion