Update: CC - Snake FS - Entity Loaded (21g30t1e75.js) 68 bytes modified
parent
58f154ea6a
commit
7609512b70
|
@ -1139,9 +1139,12 @@ GameLib.CustomCode.prototype.advanceSnake = function(delta) {
|
||||||
body.mesh.updateInstance('visible');
|
body.mesh.updateInstance('visible');
|
||||||
|
|
||||||
body.applyToMesh();
|
body.applyToMesh();
|
||||||
}
|
|
||||||
|
|
||||||
this.explode(body.position);
|
this.explode(backup.position);
|
||||||
|
|
||||||
|
} else {
|
||||||
|
this.explode(body.position);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case GameLib.CustomCode.OBJECT_TYPE_FOOD :
|
case GameLib.CustomCode.OBJECT_TYPE_FOOD :
|
||||||
|
|
Loading…
Reference in New Issue