Skip to content
This repository was archived by the owner on Mar 5, 2021. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pages/en/2_tutorials/5_audio.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ you can store the sound player as a member variable of their behavior, like so:

```
class SoldierBehavior {
sfxPlayer = new Sup.Audio.SoundInstance("Shoot", 1.0, { loop: true });
sfxPlayer = new Sup.Audio.SoundPlayer("Shoot", 1.0, { loop: true });

update() {
if (/* some condition for shooting */) {
Expand Down