Apply suggestions from code review

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
This commit is contained in:
Mumble 2024-11-09 18:02:44 -08:00 committed by GitHub
parent 09b6afbd38
commit 91c505476a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -29,10 +29,10 @@ export class GameOverPhase extends BattlePhase {
private isVictory: boolean; private isVictory: boolean;
private firstRibbons: PokemonSpecies[] = []; private firstRibbons: PokemonSpecies[] = [];
constructor(scene: BattleScene, victory?: boolean) { constructor(scene: BattleScene, victory: boolean = false) {
super(scene); super(scene);
this.isVictory = !!victory; this.isVictory = victory;
} }
start() { start() {