From 9595ade2a3d664bc4fb7e5e5936876b59355f193 Mon Sep 17 00:00:00 2001 From: Raphael Bertoche Date: Thu, 29 Aug 2024 15:15:04 -0300 Subject: [PATCH] =?UTF-8?q?Remove=20espa=C3=A7o=20em=20branco=20no=20fim?= =?UTF-8?q?=20da=20linha=20(trailing=20whitespace)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Content.Server/Communications/CommunicationsConsoleSystem.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Content.Server/Communications/CommunicationsConsoleSystem.cs b/Content.Server/Communications/CommunicationsConsoleSystem.cs index 82e90ade036729..2903ea38976302 100644 --- a/Content.Server/Communications/CommunicationsConsoleSystem.cs +++ b/Content.Server/Communications/CommunicationsConsoleSystem.cs @@ -370,7 +370,7 @@ private void OnToggleEmergencyMaintMessage(EntityUid uid, CommunicationsConsoleC var query = EntityQueryEnumerator(); while (query.MoveNext(out var doorUid, out var component)) { - if (!TryGetNetEntity(doorUid, out var netEntity) + if (!TryGetNetEntity(doorUid, out var netEntity) || !TryGetEntityData(netEntity.Value, out var entityUid, out var entityData) || !_maintDoorPrototypeList.Contains(entityData.EntityPrototype!.ID) || !TryComp(doorUid, out var airlock))