Remove redundant GetComponent from SubFloorHide

This commit is contained in:
metalgearsloth
2021-09-16 17:21:27 +10:00
parent 121862fa64
commit 8bb5522734

View File

@@ -83,8 +83,6 @@ namespace Content.Shared.SubFloor
private void HandleAnchorChanged(EntityUid uid, SubFloorHideComponent component, ref AnchorStateChangedEvent args)
{
var transform = ComponentManager.GetComponent<ITransformComponent>(uid);
// We do this directly instead of calling UpdateEntity.
UpdateEntity(uid);
}