Skip to content

Commit e1529a3

Browse files
committed
Merge pull request phaserjs#662 from ralphsmith80/master
issue#661 update state before values are cleared
2 parents 9762bff + 7e9fbd3 commit e1529a3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/core/Game.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -614,11 +614,11 @@ Phaser.Game.prototype = {
614614
this.plugins.preUpdate();
615615
this.stage.preUpdate();
616616

617+
this.state.update();
617618
this.stage.update();
618619
this.tweens.update();
619620
this.sound.update();
620621
this.input.update();
621-
this.state.update();
622622
this.physics.update();
623623
this.particles.update();
624624
this.plugins.update();

0 commit comments

Comments
 (0)