mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-09-04 13:49:32 +02:00
remove redundant variable
This commit is contained in:
parent
d0c3513b43
commit
95e02fb55f
@ -91,8 +91,7 @@ export class VictoryPhase extends PokemonPhase {
|
||||
const gameMode = this.scene.gameMode;
|
||||
const waveIndex = this.scene.currentBattle.waveIndex;
|
||||
if (gameMode.isFixedBattle(waveIndex)) {
|
||||
const fixedBattleConfig = gameMode.getFixedBattle(waveIndex);
|
||||
return fixedBattleConfig.customModifierRewardSettings;
|
||||
return gameMode.getFixedBattle(waveIndex).customModifierRewardSettings;
|
||||
}
|
||||
|
||||
return undefined;
|
||||
|
Loading…
Reference in New Issue
Block a user