Fix TryProccessRadioMessage Typo (#41139)

fix proccess typo
This commit is contained in:
sleepyyapril
2025-10-27 07:44:11 -03:00
committed by GitHub
parent 32d6d7d461
commit 7c0ba70b74
3 changed files with 3 additions and 3 deletions

View File

@@ -689,7 +689,7 @@ public sealed partial class ChatUIController : UIController
radioChannel = null; radioChannel = null;
return _player.LocalEntity is EntityUid { Valid: true } uid return _player.LocalEntity is EntityUid { Valid: true } uid
&& _chatSys != null && _chatSys != null
&& _chatSys.TryProccessRadioMessage(uid, text, out _, out radioChannel, quiet: true); && _chatSys.TryProcessRadioMessage(uid, text, out _, out radioChannel, quiet: true);
} }
public void UpdateSelectedChannel(ChatBox box) public void UpdateSelectedChannel(ChatBox box)

View File

@@ -212,7 +212,7 @@ public sealed partial class ChatSystem : SharedChatSystem
// This message may have a radio prefix, and should then be whispered to the resolved radio channel // This message may have a radio prefix, and should then be whispered to the resolved radio channel
if (checkRadioPrefix) if (checkRadioPrefix)
{ {
if (TryProccessRadioMessage(source, message, out var modMessage, out var channel)) if (TryProcessRadioMessage(source, message, out var modMessage, out var channel))
{ {
SendEntityWhisper(source, modMessage, range, channel, nameOverride, hideLog, ignoreActionBlocker); SendEntityWhisper(source, modMessage, range, channel, nameOverride, hideLog, ignoreActionBlocker);
return; return;

View File

@@ -146,7 +146,7 @@ public abstract partial class SharedChatSystem : EntitySystem
/// <param name="channel">The channel that was requested, if any</param> /// <param name="channel">The channel that was requested, if any</param>
/// <param name="quiet">Whether or not to generate an informative pop-up message.</param> /// <param name="quiet">Whether or not to generate an informative pop-up message.</param>
/// <returns></returns> /// <returns></returns>
public bool TryProccessRadioMessage( public bool TryProcessRadioMessage(
EntityUid source, EntityUid source,
string input, string input,
out string output, out string output,