From 8bb5522734e2e482b0c6c4436e83a121105fd332 Mon Sep 17 00:00:00 2001 From: metalgearsloth Date: Thu, 16 Sep 2021 17:21:27 +1000 Subject: [PATCH] Remove redundant GetComponent from SubFloorHide --- Content.Shared/SubFloor/SubFloorHideSystem.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/Content.Shared/SubFloor/SubFloorHideSystem.cs b/Content.Shared/SubFloor/SubFloorHideSystem.cs index aab45490dc..f386ad4a5b 100644 --- a/Content.Shared/SubFloor/SubFloorHideSystem.cs +++ b/Content.Shared/SubFloor/SubFloorHideSystem.cs @@ -83,8 +83,6 @@ namespace Content.Shared.SubFloor private void HandleAnchorChanged(EntityUid uid, SubFloorHideComponent component, ref AnchorStateChangedEvent args) { - var transform = ComponentManager.GetComponent(uid); - // We do this directly instead of calling UpdateEntity. UpdateEntity(uid); }