mirror of
https://github.com/photonstorm/phaser
synced 2025-02-16 14:08:28 +00:00
Merge pull request #6870 from samme/feature/timestep-pauseDuration-2
Pass pauseDuration 0 in `Phaser.Core.Events#RESUME` after manual game resume
This commit is contained in:
commit
49456a08b8
2 changed files with 2 additions and 2 deletions
|
@ -650,7 +650,7 @@ var Game = new Class({
|
||||||
|
|
||||||
if (wasPaused)
|
if (wasPaused)
|
||||||
{
|
{
|
||||||
this.events.emit(Events.RESUME);
|
this.events.emit(Events.RESUME, 0);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
@ -13,6 +13,6 @@
|
||||||
* @type {string}
|
* @type {string}
|
||||||
* @since 3.0.0
|
* @since 3.0.0
|
||||||
*
|
*
|
||||||
* @param {number} pauseDuration - The duration, in ms, that the game was paused for.
|
* @param {number} pauseDuration - The duration, in ms, that the game was paused for, or 0 if {@link Phaser.Game#resume} was called.
|
||||||
*/
|
*/
|
||||||
module.exports = 'resume';
|
module.exports = 'resume';
|
||||||
|
|
Loading…
Add table
Reference in a new issue