From dcbbf030981d0e1e68283ea420ab3f5f4b5752f5 Mon Sep 17 00:00:00 2001 From: Fansana Date: Sun, 27 Oct 2024 15:33:59 +0100 Subject: [PATCH] fix voice mask --- Content.Server/VoiceMask/VoiceMaskSystem.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Content.Server/VoiceMask/VoiceMaskSystem.cs b/Content.Server/VoiceMask/VoiceMaskSystem.cs index d925092083b..b10cc9c4fc3 100644 --- a/Content.Server/VoiceMask/VoiceMaskSystem.cs +++ b/Content.Server/VoiceMask/VoiceMaskSystem.cs @@ -93,7 +93,7 @@ private void OnMaskToggled(Entity ent, ref WearerMaskToggled private void OpenUI(EntityUid player) { - if (!_uiSystem.IsUiOpen(player, VoiceMaskUIKey.Key)) + if (_uiSystem.IsUiOpen(player, VoiceMaskUIKey.Key)) return; _uiSystem.OpenUi(player, VoiceMaskUIKey.Key, player);