mirror of
https://github.com/photonstorm/phaser
synced 2024-11-10 07:04:31 +00:00
Pass pauseDuration 0 for manual resume
This commit is contained in:
parent
2824185784
commit
96bae29e62
2 changed files with 2 additions and 2 deletions
|
@ -650,7 +650,7 @@ var Game = new Class({
|
|||
|
||||
if (wasPaused)
|
||||
{
|
||||
this.events.emit(Events.RESUME);
|
||||
this.events.emit(Events.RESUME, 0);
|
||||
}
|
||||
},
|
||||
|
||||
|
|
|
@ -13,6 +13,6 @@
|
|||
* @type {string}
|
||||
* @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';
|
||||
|
|
Loading…
Reference in a new issue