diff options
| author | Jules Laplace <jules@okfoc.us> | 2015-04-29 18:46:21 -0400 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2015-04-29 18:46:21 -0400 |
| commit | 94ba321f96638906e41eda7abf371066011c8508 (patch) | |
| tree | c8539ac14894bdcb9c4384cf565e5d7c0f214f72 /public/assets/javascripts/rectangles/engine/scenery/sound.js | |
| parent | 0e1432c79eb4e654f492d07c2c02784e629782b0 (diff) | |
misc edits
Diffstat (limited to 'public/assets/javascripts/rectangles/engine/scenery/sound.js')
| -rw-r--r-- | public/assets/javascripts/rectangles/engine/scenery/sound.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/public/assets/javascripts/rectangles/engine/scenery/sound.js b/public/assets/javascripts/rectangles/engine/scenery/sound.js index 37bdee0..d63d8c4 100644 --- a/public/assets/javascripts/rectangles/engine/scenery/sound.js +++ b/public/assets/javascripts/rectangles/engine/scenery/sound.js @@ -5,7 +5,7 @@ Scenery.sound.init = function(){ app.tube.on("move", Scenery.sound.move) } Scenery.sound.move = function(){ - var vals = Scenery.map(function(scenery){ + Scenery.forEach(function(scenery){ if ((scenery.type == "video" || scenery.type == "audio") && ! scenery.muted()) { var distance = dist(cam.x, cam.z, scenery.mx.x, scenery.mx.z) |
