Refactor: Chat transmission ranges (+ a little preparation for downstream fork functionality) (#16026)
This commit is contained in:
@@ -44,7 +44,7 @@ public sealed class EmoteOnDamageSystem : EntitySystem
|
||||
var emote = _random.Pick(emoteOnDamage.Emotes);
|
||||
if (emoteOnDamage.WithChat)
|
||||
{
|
||||
_chatSystem.TryEmoteWithChat(uid, emote, emoteOnDamage.HiddenFromChatWindow);
|
||||
_chatSystem.TryEmoteWithChat(uid, emote, emoteOnDamage.HiddenFromChatWindow ? ChatTransmitRange.HideChat : ChatTransmitRange.Normal);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user