Skip to content

Commit

Permalink
Fix wrong spritekey
Browse files Browse the repository at this point in the history
  • Loading branch information
Golen87 committed Aug 18, 2024
1 parent 99cd1da commit 67b9219
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Customer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ export class Customer extends Button {
onDragStart(pointer: Phaser.Input.Pointer, dragX: number, dragY: number) {
this.emit("pickup");
this.dragged = true;
this.sprite.setTexture(this.spriteKeys.walk);
this.sprite.setTexture(this.spriteKeys.walk1);
}

onDrag(pointer: Phaser.Input.Pointer, dragX: number, dragY: number) {
Expand Down

0 comments on commit 67b9219

Please sign in to comment.