Skip to content

Killing units inside containers will play the unit exit sound #1014

Open
@xezon

Description

@xezon

Killing units inside containers will play the unit exit sound.

Does that make sense?

void OpenContain::killAllContained( void )
{
...
  if ( rider )
  {
    it = list.erase(it);

    onRemoving( rider ); // <----- plays evacuation sound
    rider->onRemovedFrom( getObject() );
    rider->kill();

  }
...
}
generalszh.2025-06-05.23-00-16-08.mp4

Metadata

Metadata

Assignees

No one assigned

    Labels

    AudioIs audio relatedBugSomething is not working right, typically is user facingMinorSeverity: Minor < Major < Critical < Blocker

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions