Skip to content

Commit

Permalink
Moved Time update back into core loop.
Browse files Browse the repository at this point in the history
  • Loading branch information
photonstorm committed Mar 11, 2014
1 parent 8683d41 commit 83e1977
Show file tree
Hide file tree
Showing 10 changed files with 3,371 additions and 1,783 deletions.
452 changes: 253 additions & 199 deletions build/custom/ninja.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions build/custom/ninja.min.js

Large diffs are not rendered by default.

938 changes: 831 additions & 107 deletions build/custom/p2.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/custom/p2.min.js

Large diffs are not rendered by default.

1,154 changes: 586 additions & 568 deletions build/custom/phaser-no-libs.js

Large diffs are not rendered by default.

21 changes: 10 additions & 11 deletions build/custom/phaser-no-libs.min.js

Large diffs are not rendered by default.

2,546 changes: 1,671 additions & 875 deletions build/phaser.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/phaser.map

Large diffs are not rendered by default.

31 changes: 16 additions & 15 deletions build/phaser.min.js

Large diffs are not rendered by default.

4 changes: 0 additions & 4 deletions src/core/Game.js
Original file line number Diff line number Diff line change
Expand Up @@ -597,8 +597,6 @@ Phaser.Game.prototype = {
*/
pausedUpdate: function (time) {

this.time.update(time);

this.debug.preUpdate();

this.render();
Expand All @@ -614,8 +612,6 @@ Phaser.Game.prototype = {
*/
steppedUpdate: function (time) {

this.time.update(time);

if (!this.pendingStep)
{
if (this.stepping)
Expand Down

0 comments on commit 83e1977

Please sign in to comment.