Skip to content

Commit

Permalink
item/bow.go: use tx.PlaySound instead of releaser.PlaySound
Browse files Browse the repository at this point in the history
  • Loading branch information
Dasciam authored Dec 24, 2024
1 parent 01fc167 commit cc86bcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/item/bow.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ func (Bow) Release(releaser Releaser, tx *world.Tx, ctx *UseContext, duration ti
ctx.Consume(arrow.Grow(-arrow.Count() + 1))
}

releaser.PlaySound(sound.BowShoot{})
tx.PlaySound(eyePosition(releaser), sound.BowShoot{})
}

// EnchantmentValue ...
Expand Down

0 comments on commit cc86bcd

Please sign in to comment.