mirror of
https://github.com/photonstorm/phaser
synced 2024-11-16 09:48:18 +00:00
Put the Timer.timeCap back to 1000 as this will be a major breaking change to existing code otherwise. It may be incorrect, but it can't happen in this point release.
This commit is contained in:
parent
9140163c85
commit
c0b752e0a6
1 changed files with 2 additions and 1 deletions
|
@ -67,7 +67,8 @@ Phaser.Timer = function (game, autoDestroy) {
|
|||
/**
|
||||
* @property {number} timeCap - If the difference in time between two frame updates exceeds this value, the event times are reset to avoid catch-up situations.
|
||||
*/
|
||||
this.timeCap = 1 / 60 * 1000;
|
||||
// this.timeCap = 1 / 60 * 1000;
|
||||
this.timeCap = 1000;
|
||||
|
||||
/**
|
||||
* @property {boolean} paused - The paused state of the Timer. You can pause the timer by calling Timer.pause() and Timer.resume() or by the game pausing.
|
||||
|
|
Loading…
Reference in a new issue