diff --git a/game.js b/game.js index 4f0a717..c6f9536 100644 --- a/game.js +++ b/game.js @@ -438,13 +438,8 @@ Ship = function () { this.collision = function (other) { SFX.explosion(); Game.explosionAt(other.x, other.y); - Game.FSM.state = 'player_died'; - this.visible = false; - this.currentNode.leave(this); - this.currentNode = null; - Game.lives--; + this.visible = true; }; - }; Ship.prototype = new Sprite();