Encryption Keys for headsets (#12615)
This commit is contained in:
@@ -67,8 +67,8 @@ public sealed partial class ChatSystem
|
||||
// Redirect to defaultChannel of headsetComp if it goes to "h" channel code after making sure defaultChannel exists
|
||||
if (message[1] == 'h'
|
||||
&& _headsetComponent != null
|
||||
&& _headsetComponent.defaultChannel != null
|
||||
&& _prototypeManager.TryIndex(_headsetComponent.defaultChannel, out RadioChannelPrototype? protoDefaultChannel))
|
||||
&& _headsetComponent.DefaultChannel != null
|
||||
&& _prototypeManager.TryIndex(_headsetComponent.DefaultChannel, out RadioChannelPrototype? protoDefaultChannel))
|
||||
{
|
||||
// Set Channel to headset defaultChannel
|
||||
channel = protoDefaultChannel;
|
||||
|
||||
Reference in New Issue
Block a user