Obsolete refactor - ConnectedClient to Channel (#24409)
This commit is contained in:
@@ -100,7 +100,7 @@ public sealed class HeadsetSystem : SharedHeadsetSystem
|
||||
private void OnHeadsetReceive(EntityUid uid, HeadsetComponent component, ref RadioReceiveEvent args)
|
||||
{
|
||||
if (TryComp(Transform(uid).ParentUid, out ActorComponent? actor))
|
||||
_netMan.ServerSendMessage(args.ChatMsg, actor.PlayerSession.ConnectedClient);
|
||||
_netMan.ServerSendMessage(args.ChatMsg, actor.PlayerSession.Channel);
|
||||
}
|
||||
|
||||
private void OnEmpPulse(EntityUid uid, HeadsetComponent component, ref EmpPulseEvent args)
|
||||
|
||||
Reference in New Issue
Block a user