Voice mask fixes (#11638)

This commit is contained in:
Flipp Syder
2022-10-03 18:14:07 -07:00
committed by GitHub
parent ee20611147
commit 26b413d24b
2 changed files with 2 additions and 2 deletions

View File

@@ -103,7 +103,7 @@ namespace Content.Server.Clothing
identity.Enabled = !mask.IsToggled;
// toggle voice masking
if (TryComp<VoiceMaskComponent>(uid, out var voiceMask))
if (TryComp<VoiceMaskComponent>(wearer, out var voiceMask))
voiceMask.Enabled = !mask.IsToggled;
// toggle breath tool connection (skip during equip since that is handled in LungSystem)