From 5b9ff78359143d22ecb76f9b4ebe351223751f61 Mon Sep 17 00:00:00 2001 From: Matteias Collet Date: Mon, 29 Jun 2020 22:48:04 +0200 Subject: [PATCH] remove preferred ending -> doesn't matter on fully random --- docs/.vuepress/components/StageLoader.vue | 9 --------- 1 file changed, 9 deletions(-) diff --git a/docs/.vuepress/components/StageLoader.vue b/docs/.vuepress/components/StageLoader.vue index fe20d8f..5e2bbbf 100644 --- a/docs/.vuepress/components/StageLoader.vue +++ b/docs/.vuepress/components/StageLoader.vue @@ -145,7 +145,6 @@ export default { levelOrderSelection: 'list', postGameSelection: '0F00', generation: 0, - preferredEnding: 0, }; }, methods: { @@ -159,11 +158,6 @@ export default { }, onLevelOrderSelectionChanged(e) { this.levelOrderSelection = e; - - if (e === 'random') { - this.postGameSelection = this.preferredEnding ?? '3400'; - } - this.updateCode(); }, onPostGameSelectionChanged(e) { @@ -207,10 +201,7 @@ export default { this.selectedRoute = newRoute; if (ending) { - this.preferredEnding = ending; this.postGameSelection = ending; - } else { - this.preferredEnding = null; } this.updateCode();