Skip to content

Commit 6ffd71d

Browse files
committed
fire event on to once
1 parent ff7ba35 commit 6ffd71d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PathBuilder.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ var PathBuilder = function (scene) {
55
this.systems = scene.sys;
66

77
if (!scene.sys.settings.isBooted) {
8-
scene.sys.events.on('boot', this.boot, this);
8+
this.scene.sys.events.once('boot', this.boot, this);
99
}
1010
};
1111

0 commit comments

Comments
 (0)