Make raiselocalevent not broadcast by default (#8998)
This commit is contained in:
@@ -205,7 +205,7 @@ namespace Content.Shared.Containers.ItemSlots
|
||||
|
||||
PlaySound(uid, slot.InsertSound, slot.SoundOptions, excludeUserAudio ? user : null);
|
||||
var ev = new ItemSlotChangedEvent();
|
||||
RaiseLocalEvent(uid, ref ev);
|
||||
RaiseLocalEvent(uid, ref ev, true);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -330,7 +330,7 @@ namespace Content.Shared.Containers.ItemSlots
|
||||
|
||||
PlaySound(uid, slot.EjectSound, slot.SoundOptions, excludeUserAudio ? user : null);
|
||||
var ev = new ItemSlotChangedEvent();
|
||||
RaiseLocalEvent(uid, ref ev);
|
||||
RaiseLocalEvent(uid, ref ev, true);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user