This commit is contained in:
Aviu00
2024-01-23 08:43:11 +03:00
parent 5a43180119
commit b8db546c33
13 changed files with 17 additions and 176 deletions

View File

@@ -159,10 +159,9 @@ public sealed partial class ChatSystem : SharedChatSystem
IConsoleShell? shell = null,
ICommonSession? player = null, string? nameOverride = null,
bool checkRadioPrefix = true,
bool ignoreActionBlocker = false,
bool force = false)
bool ignoreActionBlocker = false)
{
TrySendInGameICMessage(source, message, desiredType, hideChat ? ChatTransmitRange.HideChat : ChatTransmitRange.Normal, hideLog, shell, player, nameOverride, checkRadioPrefix, ignoreActionBlocker, force);
TrySendInGameICMessage(source, message, desiredType, hideChat ? ChatTransmitRange.HideChat : ChatTransmitRange.Normal, hideLog, shell, player, nameOverride, checkRadioPrefix, ignoreActionBlocker);
}
/// <summary>
@@ -186,8 +185,7 @@ public sealed partial class ChatSystem : SharedChatSystem
ICommonSession? player = null,
string? nameOverride = null,
bool checkRadioPrefix = true,
bool ignoreActionBlocker = false,
bool force = false
bool ignoreActionBlocker = false
)
{
if (HasComp<GhostComponent>(source))
@@ -209,7 +207,7 @@ public sealed partial class ChatSystem : SharedChatSystem
return;
}
if (!force && !CanSendInGame(message, shell, player))
if (!CanSendInGame(message, shell, player))
return;
ignoreActionBlocker = CheckIgnoreSpeechBlocker(source, ignoreActionBlocker);