Make raiselocalevent not broadcast by default (#8998)
This commit is contained in:
@@ -221,7 +221,7 @@ namespace Content.Server.Wieldable
|
||||
{
|
||||
if (!component.Wielded || component.Owner != args.Unequipped)
|
||||
return;
|
||||
RaiseLocalEvent(uid, new ItemUnwieldedEvent(args.User, force: true));
|
||||
RaiseLocalEvent(uid, new ItemUnwieldedEvent(args.User, force: true), true);
|
||||
}
|
||||
|
||||
private void OnVirtualItemDeleted(EntityUid uid, WieldableComponent component, VirtualItemDeletedEvent args)
|
||||
|
||||
Reference in New Issue
Block a user