Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix announcements
Browse files Browse the repository at this point in the history
Rinary1 committed Nov 2, 2024
1 parent b553994 commit ebc7958
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Content.Server/DropPod/DropPodSystem.cs
Original file line number Diff line number Diff line change
@@ -160,7 +160,7 @@ private void OnStartLandingButtonPressed(EntityUid uid, DropPodConsoleComponent
if (!component.WarDeclared & component.Announcement) // If war has not been declared, then the landing will be loud
{
_alertLevelSystem.SetLevel(end_stationAlert_uid, "red", true, true, true);
_chat.DispatchGlobalAnnouncement($"{component.Text} X: {Coords.X} Y: {Coords.Y}", "Central Command", true, component.Sound, component.Color);
_chat.DispatchGlobalAnnouncement($"{component.Text} X: {Coords.X} Y: {Coords.Y}", sender: "Central Command", playDefault: true, announcementSound: component.Sound, colorOverride: component.Color);
Thread.Sleep(component.Time * 1000);
}

0 comments on commit ebc7958

Please sign in to comment.