Fix masks not toggling voice mask component (#22506)

This commit is contained in:
DrSmugleaf
2023-12-14 17:39:11 -08:00
committed by GitHub
parent 69767eef24
commit af3a1e5900
3 changed files with 7 additions and 6 deletions

View File

@@ -70,4 +70,4 @@ public readonly record struct ItemMaskToggledEvent(EntityUid Wearer, bool IsTogg
/// Event raised on the entity wearing the mask when it is toggled.
/// </summary>
[ByRefEvent]
public readonly record struct WearerMaskToggledEvent(bool Enabled);
public readonly record struct WearerMaskToggledEvent(bool IsToggled);