Bullet flyby sounds (#8317)

This commit is contained in:
metalgearsloth
2022-05-21 18:04:47 +10:00
committed by GitHub
parent 850eebcabc
commit 4e2b94199e
16 changed files with 181 additions and 4 deletions

View File

@@ -41,6 +41,8 @@ namespace Content.Server.Stunnable
}
private void HandleCollide(EntityUid uid, StunOnCollideComponent component, StartCollideEvent args)
{
if (args.OurFixture.ID != component.FixtureID) return;
TryDoCollideStun(uid, component, args.OtherFixture.Body.Owner);
}