Update: CC - Snake FS - Entity Loaded (21g30t1e75.js) 6 bytes modified
parent
37bc139b25
commit
c23c01eb25
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue