Skip to content

Commit

Permalink
Bugfix when user click more than once...
Browse files Browse the repository at this point in the history
  • Loading branch information
jjalonso committed Jul 8, 2018
1 parent 0a25e72 commit 4f73820
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scenes/intro-scene/intro-scene.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class IntroScene extends FadeableScene {
this._textHelp = this.add.text(xCenter, yCenter + 100, '[PRESS TO CONTINUE]', { fontSize: 12 }).setOrigin(0.5);


this.input.on('pointerdown', () => this._onContinueTriggered());
this.input.once('pointerdown', () => this._onContinueTriggered());
};

_onContinueTriggered() {
Expand Down

0 comments on commit 4f73820

Please sign in to comment.