Fix northstar radio exploit (#16967)

This commit is contained in:
HerCoyote23
2023-05-30 18:11:35 -07:00
committed by GitHub
parent af25d9a188
commit c694ecccac

View File

@@ -269,7 +269,7 @@ public sealed class MeleeWeaponSystem : SharedMeleeWeaponSystem
if (comp.Battlecry != null)//If the battlecry is set to empty, doesn't speak
{
_chat.TrySendInGameICMessage(args.User, comp.Battlecry, InGameICChatType.Speak, true, true); //Speech that isn't sent to chat or adminlogs
_chat.TrySendInGameICMessage(args.User, comp.Battlecry, InGameICChatType.Speak, true, true, checkRadioPrefix: false); //Speech that isn't sent to chat or adminlogs
}
}