Add gas tanks throw damage (#20035)

Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
This commit is contained in:
Vyacheslav Kovalevsky
2023-12-04 09:32:17 +03:00
committed by GitHub
parent fe2672744f
commit 5b55b9ce3b
8 changed files with 36 additions and 53 deletions

View File

@@ -79,7 +79,7 @@ public abstract class SharedEmitSoundSystem : EntitySystem
args.Handled = true;
}
private void OnEmitSoundOnThrown(EntityUid uid, BaseEmitSoundComponent component, ThrownEvent args)
private void OnEmitSoundOnThrown(EntityUid uid, BaseEmitSoundComponent component, ref ThrownEvent args)
{
TryEmitSound(uid, component, args.User, false);
}