From 1bad0980eefbd633ff64babb88539dbfb3ff04b0 Mon Sep 17 00:00:00 2001 From: Tayrtahn Date: Sun, 20 Apr 2025 11:00:33 -0400 Subject: [PATCH] Use non-generic TryComp in `StationSpawningSystem` (#36769) Use non-generic TryComp in StationSpawningSystem --- Content.Server/Station/Systems/StationSpawningSystem.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Content.Server/Station/Systems/StationSpawningSystem.cs b/Content.Server/Station/Systems/StationSpawningSystem.cs index d9c80c19dd..70176ea071 100644 --- a/Content.Server/Station/Systems/StationSpawningSystem.cs +++ b/Content.Server/Station/Systems/StationSpawningSystem.cs @@ -187,7 +187,7 @@ public sealed class StationSpawningSystem : SharedStationSpawningSystem var gearEquippedEv = new StartingGearEquippedEvent(entity.Value); RaiseLocalEvent(entity.Value, ref gearEquippedEv); - if (prototype != null && TryComp(entity.Value, out var metaData)) + if (prototype != null && TryComp(entity.Value, out MetaDataComponent? metaData)) { SetPdaAndIdCardData(entity.Value, metaData.EntityName, prototype, station); } -- 2.51.2