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

@@ -175,7 +175,7 @@ public sealed class StickySystem : EntitySystem
}
component.StuckTo = target;
RaiseLocalEvent(uid, new EntityStuckEvent(target, user));
RaiseLocalEvent(uid, new EntityStuckEvent(target, user), true);
}
public void UnstickFromEntity(EntityUid uid, EntityUid user, StickyComponent? component = null)
@@ -210,7 +210,7 @@ public sealed class StickySystem : EntitySystem
}
component.StuckTo = null;
RaiseLocalEvent(uid, new EntityUnstuckEvent(target, user));
RaiseLocalEvent(uid, new EntityUnstuckEvent(target, user), true);
}
private sealed class StickSuccessfulEvent : EntityEventArgs