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

beta.r3js.org
-=yb4f310 2018-03-22 19:40:39 +01:00
parent 4d65e5c696
commit e119b87bef
1 changed files with 2 additions and 2 deletions

View File

@ -539,8 +539,8 @@ GameLib.CustomCode.prototype.createGameObject = function(
*/
if (
currentGameObject.objectType === GameLib.CustomCode.OBJECT_TYPE_POWERUP ||
currentGameObject.objectType === GameLib.CustomCode.OBJECT_TYPE_FOOD
gameObject.objectType === GameLib.CustomCode.OBJECT_TYPE_POWERUP ||
gameObject.objectType === GameLib.CustomCode.OBJECT_TYPE_FOOD
) {
/**
* Food and powerups automatically get added, snake bodys need careful insertion