Fix muzzle flash tracking (#30163)
* Fix muzzle flash tracking User was never set on the networked event but we don't really need it anyway. * Also this one
This commit is contained in:
@@ -476,7 +476,7 @@ public abstract partial class SharedGunSystem : EntitySystem
|
||||
return;
|
||||
|
||||
var ev = new MuzzleFlashEvent(GetNetEntity(gun), sprite, worldAngle);
|
||||
CreateEffect(gun, ev, user);
|
||||
CreateEffect(gun, ev, gun);
|
||||
}
|
||||
|
||||
public void CauseImpulse(EntityCoordinates fromCoordinates, EntityCoordinates toCoordinates, EntityUid user, PhysicsComponent userPhysics)
|
||||
|
||||
Reference in New Issue
Block a user