Re-implement hitscan sounds (#8581)

I forgor. Also added RW to ballistic prototype for funsies.
This commit is contained in:
metalgearsloth
2022-06-02 12:01:50 +10:00
committed by GitHub
parent d5620aa833
commit 227a86f494
3 changed files with 18 additions and 6 deletions

View File

@@ -121,6 +121,8 @@ public sealed partial class GunSystem : SharedGunSystem
if (dmg != null)
{
PlayImpactSound(result.HitEntity, dmg, hitscan.Sound, hitscan.ForceSound);
if (user != null)
{
Logs.Add(LogType.HitScanHit,