Update: CC - Snake FS - Entity Loaded (21g30t1e75.js) 6 bytes modified

beta.r3js.org
-=yb4f310 2018-03-22 20:10:09 +01:00
parent 37bc139b25
commit c23c01eb25
1 changed files with 1 additions and 1 deletions

View File

@ -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();
}