mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2024-11-26 08:46:55 +00:00
Fix playing evolution BGM twice
This commit is contained in:
parent
d4d6931512
commit
634d93b989
@ -102,7 +102,6 @@ export class EvolutionPhase extends BattlePhase {
|
|||||||
|
|
||||||
this.scene.time.delayedCall(1000, () => {
|
this.scene.time.delayedCall(1000, () => {
|
||||||
const evolutionBgm = this.scene.playSoundWithoutBgm('evolution');
|
const evolutionBgm = this.scene.playSoundWithoutBgm('evolution');
|
||||||
evolutionBgm.play({ volume: this.scene.masterVolume });
|
|
||||||
this.scene.tweens.add({
|
this.scene.tweens.add({
|
||||||
targets: this.evolutionBgOverlay,
|
targets: this.evolutionBgOverlay,
|
||||||
alpha: 1,
|
alpha: 1,
|
||||||
|
Loading…
Reference in New Issue
Block a user