Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

E2 emitSound does not stop when target entity removed #2815

Open
Denneisk opened this issue Oct 28, 2023 · 0 comments
Open

E2 emitSound does not stop when target entity removed #2815

Denneisk opened this issue Oct 28, 2023 · 0 comments
Labels

Comments

@Denneisk
Copy link
Member

Originally reported on Discord by Isemenuk27#6872.

Description:
entity:emitSound does not remove the sound after its parent is removed.

To Reproduce

  1. Create a prop
  2. Create an E2 to emitSound on that prop
  3. Delete the prop
  4. Sound will persist

Expected behavior
Sound should stop when parent is removed

Screenshots
User video (Original post)


ENTITY:CallOnRemove seems like an easy way to solve this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants