summaryrefslogtreecommitdiff
path: root/main.js
diff options
context:
space:
mode:
Diffstat (limited to 'main.js')
-rw-r--r--main.js5
1 files changed, 0 insertions, 5 deletions
diff --git a/main.js b/main.js
index 107c580..7ce6e6f 100644
--- a/main.js
+++ b/main.js
@@ -11,11 +11,6 @@ window.onload = () => {
const audio = new AudioContext();
root.removeChild(start);
- const rocketThrustAudio = document.getElementById('sfx-rocket-thrust');
- const rocketThrustSource = audio.createMediaElementSource(rocketThrustAudio);
- const rocketGain = audio.createGain();
- rocketThrustSource.connect(rocketGain).connect(audio.destination);
-
const musicGain = audio.createGain();
const addMusic = (music, id) => {
const element = document.getElementById(id);