Skip to content

Commit

Permalink
volume test
Browse files Browse the repository at this point in the history
  • Loading branch information
NightLightLumie committed Apr 25, 2024
1 parent 42660f8 commit aceb270
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Enemy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ export class Enemy extends Phaser.GameObjects.Container {
this.noHitCheck = false;
}
if(!this.hasPlayedSpawnSound && this.x < 2080) {
this.scene.sound.play("spawn");
this.scene.sound.play("spawn", {volume: 0.25});
this.hasPlayedSpawnSound = true;
}
if(this.slowTimer > 0) {
Expand Down

0 comments on commit aceb270

Please sign in to comment.