mirror of
https://github.com/wega-team/ss14-wega.git
synced 2026-02-15 03:31:44 +01:00
@@ -838,7 +838,6 @@ public sealed partial class ChatSystem : SharedChatSystem
|
||||
var recipients = new Dictionary<ICommonSession, ICChatRecipientData>();
|
||||
var ghostHearing = GetEntityQuery<GhostHearingComponent>();
|
||||
var xforms = GetEntityQuery<TransformComponent>();
|
||||
var deafnessQuery = GetEntityQuery<DeafnessComponent>(); // Corvax-Wega-Deafness
|
||||
|
||||
var transformSource = xforms.GetComponent(source);
|
||||
var sourceMapId = transformSource.MapID;
|
||||
@@ -849,8 +848,6 @@ public sealed partial class ChatSystem : SharedChatSystem
|
||||
if (player.AttachedEntity is not { Valid: true } playerEntity)
|
||||
continue;
|
||||
|
||||
if (deafnessQuery.HasComponent(playerEntity)) continue; // Corvax-Wega-Deafness
|
||||
|
||||
var transformEntity = xforms.GetComponent(playerEntity);
|
||||
|
||||
if (transformEntity.MapID != sourceMapId)
|
||||
|
||||
Reference in New Issue
Block a user