Fixes
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user