Skip to content
Snippets Groups Projects
Commit 50b52ab9 authored by Paolo.Brasolin's avatar Paolo.Brasolin
Browse files

fix: #fe deactivate typewriter at gameover

parent 1c9ba3b4
No related branches found
No related tags found
No related merge requests found
......@@ -354,6 +354,7 @@ export default class FightScene extends Phaser.Scene {
).data;
this.foes.forEach((foe) => foe.destroy());
this.sound.play("sfx_game_over");
this.typewriter.setActive(false);
this.scene.start("game_over", { music: this.music });
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment