This commit is contained in:
Antoine
2021-05-31 19:48:42 +02:00
parent aa06c55dd7
commit a069067c9c
2 changed files with 21 additions and 21 deletions

View File

@ -175,7 +175,7 @@ public class Engine {
soundManager.setListener(soundListener);
SoundBuffer jumpSoundBuffer = new SoundBuffer("sound/jump.ogg");
SoundSource soundSource = new SoundSource(true, false);
SoundSource soundSource = new SoundSource(false, false);
soundSource.setBuffer(jumpSoundBuffer.getBufferId());
soundManager.addSoundSource("jump", soundSource);