mirror of
https://github.com/photonstorm/phaser
synced 2024-11-27 23:20:59 +00:00
Added TODO for handling removed or destroyed sounds
This commit is contained in:
parent
c9868d5408
commit
429d86ba31
1 changed files with 1 additions and 0 deletions
|
@ -141,6 +141,7 @@ var BaseSoundManager = new Class({
|
|||
* @param {number} delta - The delta time elapsed since the last frame.
|
||||
*/
|
||||
update: function (time, delta) {
|
||||
// TODO remove pending sounds
|
||||
this.sounds.forEach(function (sound) {
|
||||
sound.update(time, delta);
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue