Refactor: Chat transmission ranges (+ a little preparation for downstream fork functionality) (#16026)

This commit is contained in:
20kdc
2023-05-04 20:08:08 +01:00
committed by GitHub
parent bb9e36faca
commit ad76739cc3
12 changed files with 120 additions and 47 deletions

View File

@@ -25,7 +25,7 @@ public sealed class Emote : ReagentEffect
var chatSys = args.EntityManager.System<ChatSystem>();
if (ShowInChat)
chatSys.TryEmoteWithChat(args.SolutionEntity, EmoteId, hideGlobalGhostChat: true);
chatSys.TryEmoteWithChat(args.SolutionEntity, EmoteId, ChatTransmitRange.GhostRangeLimit);
else
chatSys.TryEmoteWithoutChat(args.SolutionEntity, EmoteId);