Make raiselocalevent not broadcast by default (#8998)
This commit is contained in:
@@ -40,7 +40,7 @@ public sealed class ArtifactSystem : EntitySystem
|
||||
}
|
||||
|
||||
EntityManager.AddComponent(uid, trigger);
|
||||
RaiseLocalEvent(uid, new RandomizeTriggerEvent());
|
||||
RaiseLocalEvent(uid, new RandomizeTriggerEvent(), true);
|
||||
}
|
||||
|
||||
public bool TryActivateArtifact(EntityUid uid, EntityUid? user = null,
|
||||
@@ -74,6 +74,6 @@ public sealed class ArtifactSystem : EntitySystem
|
||||
{
|
||||
Activator = user
|
||||
};
|
||||
RaiseLocalEvent(uid, ev);
|
||||
RaiseLocalEvent(uid, ev, true);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user