mirror of
https://github.com/wassname/phaser.git
synced 2026-09-09 11:28:47 +08:00
Removed un-needed file and added SoundManager fix.
This commit is contained in:
@@ -111,7 +111,7 @@ module Phaser {
|
||||
var tempSound: Sound = new Sound(this._context, this._gainNode, null, volume, loop);
|
||||
|
||||
// this is an async process, so we can return the Sound object anyway, it just won't be playing yet
|
||||
this.decode(key, () => this.play(key), tempSound);
|
||||
this.decode(key, () => tempSound.play(), tempSound);
|
||||
|
||||
return tempSound;
|
||||
}
|
||||
|
||||
@@ -54,7 +54,7 @@ module Phaser {
|
||||
|
||||
this._buffer = data;
|
||||
this.isDecoding = false;
|
||||
this.play();
|
||||
//this.play();
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user