Fix muzzle flashes for other players (#10454)

This commit is contained in:
metalgearsloth
2022-08-09 14:30:32 +10:00
committed by GitHub
parent 4becd815b1
commit 75dfbdb57f
3 changed files with 7 additions and 5 deletions

View File

@@ -8,10 +8,12 @@ namespace Content.Shared.Weapons.Ranged.Events;
[Serializable, NetSerializable]
public sealed class MuzzleFlashEvent : EntityEventArgs
{
public EntityUid Uid;
public string Prototype;
public MuzzleFlashEvent(string prototype)
public MuzzleFlashEvent(EntityUid uid, string prototype)
{
Uid = uid;
Prototype = prototype;
}
}