Make raiselocalevent not broadcast by default (#8998)
This commit is contained in:
@@ -157,7 +157,7 @@ namespace Content.Server.Fluids.EntitySystems
|
||||
return false;
|
||||
}
|
||||
|
||||
RaiseLocalEvent(puddleComponent.Owner, new SolutionChangedEvent());
|
||||
RaiseLocalEvent(puddleComponent.Owner, new SolutionChangedEvent(), true);
|
||||
|
||||
if (!sound)
|
||||
{
|
||||
|
||||
@@ -116,7 +116,7 @@ public sealed class SpraySystem : EntitySystem
|
||||
SoundSystem.Play(component.SpraySound.GetSound(), Filter.Pvs(uid), uid, AudioHelpers.WithVariation(0.125f));
|
||||
|
||||
RaiseLocalEvent(uid,
|
||||
new RefreshItemCooldownEvent(curTime, curTime + TimeSpan.FromSeconds(component.CooldownTime)));
|
||||
new RefreshItemCooldownEvent(curTime, curTime + TimeSpan.FromSeconds(component.CooldownTime)), true);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user