diff --git a/zjq6ach3jt.js b/zjq6ach3jt.js index afb825c..d319d24 100644 --- a/zjq6ach3jt.js +++ b/zjq6ach3jt.js @@ -3,9 +3,20 @@ if (!this.entityLoaded) { } if (!this.initialized) { + + this.state = this.entityLoaded.state; + this.initialized = true; } +if (this.state.exploding) { + + /** + * Wait until finished exploding + */ + return; +} + this.advanceSnake(data.delta); this.createFood(data.delta);