Update: CC - Snake FS - Entity Loaded (21g30t1e75.js) 7 bytes modified
parent
8f674ccebc
commit
f36b6e8f50
|
@ -235,8 +235,6 @@ GameLib.CustomCode.prototype.waitReload = function(delta) {
|
||||||
this.state.exploding = false;
|
this.state.exploding = false;
|
||||||
|
|
||||||
this.state.getReady = true;
|
this.state.getReady = true;
|
||||||
|
|
||||||
this.advanceSnake(this.speed * 2);
|
|
||||||
|
|
||||||
window.setTimeout(
|
window.setTimeout(
|
||||||
function(){
|
function(){
|
||||||
|
@ -1158,7 +1156,6 @@ GameLib.CustomCode.prototype.backup = function() {
|
||||||
|
|
||||||
GameLib.CustomCode.prototype.restore = function() {
|
GameLib.CustomCode.prototype.restore = function() {
|
||||||
|
|
||||||
|
|
||||||
this.snake.map(
|
this.snake.map(
|
||||||
function(body) {
|
function(body) {
|
||||||
|
|
||||||
|
@ -1253,6 +1250,9 @@ GameLib.CustomCode.prototype.restore = function() {
|
||||||
*/
|
*/
|
||||||
this.snake = this.backupSnake.map(
|
this.snake = this.backupSnake.map(
|
||||||
function(body) {
|
function(body) {
|
||||||
|
|
||||||
|
body.applyToMesh();
|
||||||
|
|
||||||
return body;
|
return body;
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue