Skip to content

Commit 15c9621

Browse files
committed
Timer._now seeded on creation.
1 parent e85bbf8 commit 15c9621

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/time/Timer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ Phaser.Timer = function (game, autoDestroy) {
106106
* @property {number} _now - The current start-time adjusted time.
107107
* @private
108108
*/
109-
this._now = 0;
109+
this._now = Date.now();
110110

111111
/**
112112
* @property {number} _len - Temp. array length variable.

0 commit comments

Comments
 (0)