Update egg-hatch-phase.ts

This commit is contained in:
GnawOmiz 2025-06-24 14:26:46 -07:00 committed by GitHub
parent 232f26a60d
commit 9a9804a5d9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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, () => {