Make raiselocalevent not broadcast by default (#8998)
This commit is contained in:
@@ -224,7 +224,7 @@ public sealed class StationSystem : EntitySystem
|
||||
stationMember.Station = station;
|
||||
stationData.Grids.Add(gridComponent.Owner);
|
||||
|
||||
RaiseLocalEvent(station, new StationGridAddedEvent(gridComponent.Owner, false));
|
||||
RaiseLocalEvent(station, new StationGridAddedEvent(gridComponent.Owner, false), true);
|
||||
|
||||
_sawmill.Info($"Adding grid {mapGrid}:{gridComponent.Owner} to station {Name(station)} ({station})");
|
||||
}
|
||||
@@ -247,7 +247,7 @@ public sealed class StationSystem : EntitySystem
|
||||
RemComp<StationMemberComponent>(mapGrid);
|
||||
stationData.Grids.Remove(gridComponent.Owner);
|
||||
|
||||
RaiseLocalEvent(station, new StationGridRemovedEvent(gridComponent.Owner));
|
||||
RaiseLocalEvent(station, new StationGridRemovedEvent(gridComponent.Owner), true);
|
||||
_sawmill.Info($"Removing grid {mapGrid}:{gridComponent.Owner} from station {Name(station)} ({station})");
|
||||
}
|
||||
|
||||
@@ -273,7 +273,7 @@ public sealed class StationSystem : EntitySystem
|
||||
_chatSystem.DispatchStationAnnouncement(station, $"The station {oldName} has been renamed to {name}.");
|
||||
}
|
||||
|
||||
RaiseLocalEvent(station, new StationRenamedEvent(oldName, name));
|
||||
RaiseLocalEvent(station, new StationRenamedEvent(oldName, name), true);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user