Update: CC - Snake FS - Entity Loaded (21g30t1e75.js) 14 bytes modified
parent
4d65e5c696
commit
e119b87bef
|
@ -539,8 +539,8 @@ GameLib.CustomCode.prototype.createGameObject = function(
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if (
|
if (
|
||||||
currentGameObject.objectType === GameLib.CustomCode.OBJECT_TYPE_POWERUP ||
|
gameObject.objectType === GameLib.CustomCode.OBJECT_TYPE_POWERUP ||
|
||||||
currentGameObject.objectType === GameLib.CustomCode.OBJECT_TYPE_FOOD
|
gameObject.objectType === GameLib.CustomCode.OBJECT_TYPE_FOOD
|
||||||
) {
|
) {
|
||||||
/**
|
/**
|
||||||
* Food and powerups automatically get added, snake bodys need careful insertion
|
* Food and powerups automatically get added, snake bodys need careful insertion
|
||||||
|
|
Loading…
Reference in New Issue