mirror of
https://github.com/photonstorm/phaser
synced 2024-11-26 22:52:14 +00:00
Resetting startTime property of a hijacked sound
This commit is contained in:
parent
fb29afedae
commit
81e8542af7
1 changed files with 1 additions and 0 deletions
|
@ -125,6 +125,7 @@ var HTML5AudioSound = new Class({
|
|||
this.audio = selectedSound.audio;
|
||||
selectedSound.reset();
|
||||
selectedSound.audio = null;
|
||||
selectedSound.startTime = 0;
|
||||
}
|
||||
return true;
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue