Skip to content

Commit 22aa61c

Browse files
committed
- loop bgs
1 parent c89db2e commit 22aa61c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/scenes/game.scene.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@ export class Game extends Scene {
3535
throw Error("Keyboard plugin is not available");
3636
}
3737

38-
this.sound.play(BackgroundSound.RIVER_FLOWING_INSECTS);
38+
this.sound.play(BackgroundSound.RIVER_FLOWING_INSECTS, {
39+
loop: true,
40+
});
3941

4042
this._keyboard = this.input.keyboard;
4143
this.createDebug();

0 commit comments

Comments
 (0)