Skip to content

Commit

Permalink
Фикс
Browse files Browse the repository at this point in the history
  • Loading branch information
FireFoxPhoenix authored Feb 28, 2025
1 parent b8b93b2 commit d5d1993
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Content.Server/Shipyard/Systems/ShipyardSystem.Consoles.cs
Original file line number Diff line number Diff line change
Expand Up @@ -514,8 +514,8 @@ private void SendPurchaseMessage(EntityUid uid, EntityUid player, string name, s
{
_radio.SendRadioMessage(uid, Loc.GetString("shipyard-console-docking", ("owner", player), ("vessel", name)), channel, uid);
_chat.TrySendInGameICMessage(uid, Loc.GetString("shipyard-console-docking", ("owner", player!), ("vessel", name)), InGameICChatType.Speak, true);
};
};
}
}
}

private void SendSellMessage(EntityUid uid, string? player, string name, string shipyardChannel, EntityUid seller, bool secret)
Expand All @@ -532,8 +532,8 @@ private void SendSellMessage(EntityUid uid, string? player, string name, string
{
_radio.SendRadioMessage(uid, Loc.GetString("shipyard-console-leaving", ("owner", player!), ("vessel", name!), ("player", seller)), channel, uid);
_chat.TrySendInGameICMessage(uid, Loc.GetString("shipyard-console-leaving", ("owner", player!), ("vessel", name!), ("player", seller)), InGameICChatType.Speak, true);
};
};
}
}
}

private void PlayDenySound(EntityUid playerUid, EntityUid consoleUid, ShipyardConsoleComponent component)
Expand Down Expand Up @@ -741,7 +741,7 @@ private struct IDShipAccesses
// Check that the listing contains the shuttle or that the shuttle is in the group that the console is looking for
if (listing?.Shuttles.Contains(vessel.ID) ?? false ||
key != null && key != ShipyardConsoleUiKey.Custom &&
vessel.Group == key || key == ShipyardConsoleUiKey.Debug)
vessel.Group == key || key == ShipyardConsoleUiKey.Debug) // shipyardConsoleUiKey.Debug from Corvax-Frontier
{
if (hasAccess)
available.Add(vessel.ID);
Expand Down

0 comments on commit d5d1993

Please sign in to comment.