mirror of
https://github.com/photonstorm/phaser
synced 2024-11-27 15:12:18 +00:00
Calling getCurrentTime directly when setting seek as paused time since we don't want to self-assign it
This commit is contained in:
parent
4e0c274ca4
commit
b3f5b03e6f
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@ var WebAudioSound = new Class({
|
|||
}
|
||||
// \/\/\/ isPlaying = false, isPaused = true \/\/\/
|
||||
this.stopAndRemoveBufferSource();
|
||||
this.currentConfig.seek = this.seek; // Equivalent to setting paused time
|
||||
this.currentConfig.seek = this.getCurrentTime(); // Equivalent to setting paused time
|
||||
return true;
|
||||
},
|
||||
resume: function () {
|
||||
|
|
Loading…
Reference in a new issue