mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-03 23:12:20 +02:00
Update egg-hatch-phase.ts
This commit is contained in:
parent
232f26a60d
commit
9a9804a5d9
@ -177,8 +177,10 @@ export class EggHatchPhase extends Phase {
|
|||||||
|
|
||||||
globalScene.time.delayedCall(1000, () => {
|
globalScene.time.delayedCall(1000, () => {
|
||||||
if (!this.hatched) {
|
if (!this.hatched) {
|
||||||
|
if (globalScene.audioSettings.masterVolume > 0) {
|
||||||
this.evolutionBgm = globalScene.playSoundWithoutBgm("evolution");
|
this.evolutionBgm = globalScene.playSoundWithoutBgm("evolution");
|
||||||
}
|
}
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
globalScene.time.delayedCall(2000, () => {
|
globalScene.time.delayedCall(2000, () => {
|
||||||
|
Loading…
Reference in New Issue
Block a user