Fix northstar radio exploit (#16967)
This commit is contained in:
@@ -269,7 +269,7 @@ public sealed class MeleeWeaponSystem : SharedMeleeWeaponSystem
|
|||||||
|
|
||||||
if (comp.Battlecry != null)//If the battlecry is set to empty, doesn't speak
|
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
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user