Skip to content

Commit f969c15

Browse files
committed
fixed: replaced 'snake' with key
1 parent 6432817 commit f969c15

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/gameobjects/Rope.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ Phaser.Rope = function (game, x, y, key, frame, points) {
8484
*/
8585
this._scroll = new Phaser.Point();
8686

87-
PIXI.Rope.call(this, 'snake', this.points);
87+
PIXI.Rope.call(this, key, this.points);
8888

8989
this.position.set(x,y);
9090

0 commit comments

Comments
 (0)