From 9d2e3a0c6f73feb0c4970cc52fa32029632a6404 Mon Sep 17 00:00:00 2001 From: Wickedness Date: Sun, 5 Jul 2026 02:42:02 +0900 Subject: [PATCH] Default Enter to continue saved campaigns --- src/game/scenes/TitleScene.ts | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/game/scenes/TitleScene.ts b/src/game/scenes/TitleScene.ts index 2699618..e99d764 100644 --- a/src/game/scenes/TitleScene.ts +++ b/src/game/scenes/TitleScene.ts @@ -55,7 +55,7 @@ export class TitleScene extends Phaser.Scene { this.input.once('pointerdown', unlockAudio); this.input.keyboard?.once('keydown', unlockAudio); - this.input.keyboard?.once('keydown-ENTER', () => this.requestStartGame()); + this.input.keyboard?.once('keydown-ENTER', () => this.activateDefaultMenuAction()); } private shouldOpenDebugSortiePrep() { @@ -497,6 +497,15 @@ export class TitleScene extends Phaser.Scene { this.newGameConfirmPanel = undefined; } + private activateDefaultMenuAction() { + if (hasCampaignSave()) { + this.continueGame(); + return; + } + + this.startGame(); + } + private startGame() { soundDirector.start(); soundDirector.resume();