Vinifera icon indicating copy to clipboard operation
Vinifera copied to clipboard

[Vanilla Bug] Dig anim and sound are played twice when burrowing

Open Crimsonum opened this issue 1 year ago • 0 comments

First Check

  • [X] I added a very descriptive title to this issue.
  • [X] I used the GitHub search to find a similar issue and didn't find it.
  • [X] I have attached as much information as possible (screenshots, debug and exception logs, etc).

Description

When a subterranean unit burrows, the dig animation (Dig=) and digging sound (DigSound=) are played twice; once as the unit starts to turn, then again as it burrows to the ground.

When the unit emerges from the ground, the animation and sound is correctly played only once.

Required Code (optional)

No response

Steps To Reproduce

  1. Select a burrowing unit (Sub. APC or Devil's Tongue)
  2. Order the unit to burrow
  3. Observe the unit as it submerges to and emerges from the ground

Expected Behaviour

The digging animation and sound should only be played once when entering the ground, and again when emerging from the ground.

Actual Behaviour

The digging animation and sound are played twice when burrowing to the ground.

Additional Context

https://github.com/Vinifera-Developers/Vinifera/assets/17765965/92a321db-2f16-4676-9f7b-9fb40065eac7

Crimsonum avatar Aug 25 '23 11:08 Crimsonum