From c23c01eb25dc33bba677cc5f42bc221391c9fc6f Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Thu, 22 Mar 2018 20:10:09 +0100 Subject: [PATCH] Update: CC - Snake FS - Entity Loaded (21g30t1e75.js) 6 bytes modified --- 21g30t1e75.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/21g30t1e75.js b/21g30t1e75.js index b353243..43092c3 100644 --- a/21g30t1e75.js +++ b/21g30t1e75.js @@ -556,7 +556,7 @@ GameLib.CustomCode.prototype.createGameObject = function( this.grid[gameObject.position.x][gameObject.position.y].dispose(); } - if (this.powerups.length > GameLib.CustomCode.MAX_POWERUP_ITEMS_ITEMS) { + if (this.powerups.length > GameLib.CustomCode.MAX_POWERUP_ITEMS) { gameObject = this.powerups.shift(); this.grid[gameObject.position.x][gameObject.position.y].dispose(); }