Browse Source

Fix early exit not cleaning up kana and romaji

Thomas Dy 6 years ago
parent
commit
9b86f73e50
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/game/typing.ts

+ 2 - 2
src/game/typing.ts

@@ -296,9 +296,9 @@ namespace game {
     exit(): void {}
 
     transitionExit(): void {
+      this.kanaController.destroy();
+      this.romajiController.destroy();
       if (this.context.track !== null) {
-        this.kanaController.destroy();
-        this.romajiController.destroy();
         this.progressController!.destroy();
       }
       this.scoreController.destroy();