Update: CC - Snake FS - Entity Loaded (21g30t1e75.js) 67 bytes modified
parent
91897521b4
commit
3e6c1a7d8c
|
@ -979,13 +979,11 @@ GameLib.CustomCode.prototype.advanceSnake = function(delta) {
|
|||
break;
|
||||
case GameLib.CustomCode.OBJECT_TYPE_FOOD :
|
||||
this.extend(gameObject, backup.position, backup.orientation);
|
||||
|
||||
break;
|
||||
case GameLib.CustomCode.OBJECT_TYPE_POWERUP:
|
||||
this.powerup(gameObject);
|
||||
break;
|
||||
default:
|
||||
this.grid[body.position.x][body.position.y] = body;
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue