Make raiselocalevent not broadcast by default (#8998)
This commit is contained in:
@@ -247,7 +247,7 @@ namespace Content.Server.DeviceNetwork.Systems
|
||||
return true;
|
||||
|
||||
var beforeBroadcastAttemptEvent = new BeforeBroadcastAttemptEvent(recipients);
|
||||
RaiseLocalEvent(packet.Sender, beforeBroadcastAttemptEvent);
|
||||
RaiseLocalEvent(packet.Sender, beforeBroadcastAttemptEvent, true);
|
||||
|
||||
if (beforeBroadcastAttemptEvent.Cancelled || beforeBroadcastAttemptEvent.ModifiedRecipients == null)
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user