From b5f55bc1f522f81f236da10f939363901b8555ae Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Thu, 22 Mar 2018 12:03:38 +0100 Subject: [PATCH] Update: CC - Snake FS - Entity Loaded (21g30t1e75.js) 0 bytes modified --- 21g30t1e75.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/21g30t1e75.js b/21g30t1e75.js index 209d627..4232cc6 100644 --- a/21g30t1e75.js +++ b/21g30t1e75.js @@ -428,7 +428,7 @@ GameLib.CustomCode.prototype.createGameObject = function( */ if (currentGameObject.objectType === GameLib.CustomCode.OBJECT_TYPE_POWERUP) { this.powerups.splice( - this.powerups.indexof(currentGameObject), + this.powerups.indexOf(currentGameObject), 1 ); } @@ -438,7 +438,7 @@ GameLib.CustomCode.prototype.createGameObject = function( */ if (currentGameObject.objectType === GameLib.CustomCode.OBJECT_TYPE_FOOD) { this.food.splice( - this.food.indexof(currentGameObject), + this.food.indexOf(currentGameObject), 1 ); }