small reorder

This commit is contained in:
koneko 2025-01-11 22:08:45 +01:00
parent d95c44373a
commit 2817f689fe

View File

@ -101,13 +101,10 @@ export class GameScene extends Scene {
Engine.NotificationManager.Notify(`Final round.`, 'danger');
}
if (this.currentRound + 1 == this.mission.rounds.length) {
this.changeRoundButton.setCaption('WINNER!');
Engine.NotificationManager.Notify(`Mission victory!!`, 'reward');
this.changeRoundButton.setCaption('Return to menu');
this.playerWon = true;
return;
}
this.currentRound++;
} else this.currentRound++;
}
if (this.MissionStats.getHP() <= 0) {