mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-19 22:09:27 +02:00
Apply suggestions from code review
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
This commit is contained in:
parent
09b6afbd38
commit
91c505476a
@ -29,10 +29,10 @@ export class GameOverPhase extends BattlePhase {
|
||||
private isVictory: boolean;
|
||||
private firstRibbons: PokemonSpecies[] = [];
|
||||
|
||||
constructor(scene: BattleScene, victory?: boolean) {
|
||||
constructor(scene: BattleScene, victory: boolean = false) {
|
||||
super(scene);
|
||||
|
||||
this.isVictory = !!victory;
|
||||
this.isVictory = victory;
|
||||
}
|
||||
|
||||
start() {
|
||||
|
Loading…
Reference in New Issue
Block a user