Revert "Emp more effects" (#16159)
This commit is contained in:
@@ -80,7 +80,6 @@ public sealed class RadioSystem : EntitySystem
|
||||
|
||||
var sendAttemptEv = new RadioSendAttemptEvent(channel, radioSource);
|
||||
RaiseLocalEvent(ref sendAttemptEv);
|
||||
RaiseLocalEvent(radioSource, ref sendAttemptEv);
|
||||
var canSend = !sendAttemptEv.Cancelled;
|
||||
|
||||
var sourceMapId = Transform(radioSource).MapID;
|
||||
@@ -106,7 +105,6 @@ public sealed class RadioSystem : EntitySystem
|
||||
// check if message can be sent to specific receiver
|
||||
var attemptEv = new RadioReceiveAttemptEvent(channel, radioSource, receiver);
|
||||
RaiseLocalEvent(ref attemptEv);
|
||||
RaiseLocalEvent(receiver, ref attemptEv);
|
||||
if (attemptEv.Cancelled)
|
||||
continue;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user