From 969e7bdd39e449cd0f25493d2fa18007ebe64da7 Mon Sep 17 00:00:00 2001 From: Winkarst <74284083+Winkarst-cpu@users.noreply.github.com> Date: Mon, 24 Feb 2025 20:37:50 +0300 Subject: [PATCH] Cleanup: Pass in ``IComponentFactory`` in ``EntityPrototype.TryGetComponent`` calls inside ``FlatpackSystem`` (#35457) * Cleanup * Update --- Content.Client/Construction/FlatpackSystem.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Content.Client/Construction/FlatpackSystem.cs b/Content.Client/Construction/FlatpackSystem.cs index 911ff1279c..f39c2327ca 100644 --- a/Content.Client/Construction/FlatpackSystem.cs +++ b/Content.Client/Construction/FlatpackSystem.cs @@ -27,7 +27,7 @@ public sealed class FlatpackSystem : SharedFlatpackSystem if (!PrototypeManager.TryIndex(machineBoardId, out var machineBoardPrototype)) return; - if (!machineBoardPrototype.TryGetComponent(out var sprite)) + if (!machineBoardPrototype.TryGetComponent(out var sprite, EntityManager.ComponentFactory)) return; Color? color = null; -- 2.51.2