forked from space-syndicate/space-station-14
Merge remote-tracking branch 'refs/remotes/upstream/master' into upstream-sync
# Conflicts: # Resources/Prototypes/GameRules/events.yml
This commit is contained in:
@@ -22,6 +22,7 @@ using Content.Shared.Mobs.Systems;
|
||||
using Content.Shared.Players;
|
||||
using Content.Shared.Radio;
|
||||
using Content.Shared.Speech;
|
||||
using Content.Shared.Whitelist;
|
||||
using Robust.Server.Player;
|
||||
using Robust.Shared.Audio;
|
||||
using Robust.Shared.Audio.Systems;
|
||||
@@ -58,6 +59,7 @@ public sealed partial class ChatSystem : SharedChatSystem
|
||||
[Dependency] private readonly SharedAudioSystem _audio = default!;
|
||||
[Dependency] private readonly SharedInteractionSystem _interactionSystem = default!;
|
||||
[Dependency] private readonly ReplacementAccentSystem _wordreplacement = default!;
|
||||
[Dependency] private readonly EntityWhitelistSystem _whitelistSystem = default!;
|
||||
|
||||
// Corvax-TTS-Start: Moved from Server to Shared
|
||||
// public const int VoiceRange = 10; // how far voice goes in world units
|
||||
@@ -827,7 +829,7 @@ public sealed partial class ChatSystem : SharedChatSystem
|
||||
recipients.Add(player, new ICChatRecipientData(-1, true));
|
||||
}
|
||||
|
||||
RaiseLocalEvent(new ExpandICChatRecipientstEvent(source, voiceGetRange, recipients));
|
||||
RaiseLocalEvent(new ExpandICChatRecipientsEvent(source, voiceGetRange, recipients));
|
||||
return recipients;
|
||||
}
|
||||
|
||||
@@ -872,7 +874,7 @@ public sealed partial class ChatSystem : SharedChatSystem
|
||||
/// This event is raised before chat messages are sent out to clients. This enables some systems to send the chat
|
||||
/// messages to otherwise out-of view entities (e.g. for multiple viewports from cameras).
|
||||
/// </summary>
|
||||
public record ExpandICChatRecipientstEvent(EntityUid Source, float VoiceRange, Dictionary<ICommonSession, ChatSystem.ICChatRecipientData> Recipients)
|
||||
public record ExpandICChatRecipientsEvent(EntityUid Source, float VoiceRange, Dictionary<ICommonSession, ChatSystem.ICChatRecipientData> Recipients)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user