Make raiselocalevent not broadcast by default (#8998)

This commit is contained in:
metalgearsloth
2022-06-22 09:53:41 +10:00
committed by GitHub
parent 360a6b8b00
commit 8905996cfc
76 changed files with 165 additions and 165 deletions

View File

@@ -96,7 +96,7 @@ namespace Content.Server.Interaction
return;
// trigger dragdrops on the dropped entity
RaiseLocalEvent(msg.Dropped, interactionArgs);
RaiseLocalEvent(msg.Dropped, interactionArgs, true);
if (interactionArgs.Handled)
return;
@@ -212,7 +212,7 @@ namespace Content.Server.Interaction
if (!Deleted(item))
{
var meleeVee = new MeleeAttackAttemptEvent();
RaiseLocalEvent(item.Value, ref meleeVee);
RaiseLocalEvent(item.Value, ref meleeVee, true);
if (meleeVee.Cancelled) return;