mirror of
https://github.com/space-wizards/space-station-14.git
synced 2026-02-15 03:31:30 +01:00
Use non-generic TryComp in StationSpawningSystem (#36769)
Use non-generic TryComp in StationSpawningSystem
This commit is contained in:
@@ -187,7 +187,7 @@ public sealed class StationSpawningSystem : SharedStationSpawningSystem
|
||||
var gearEquippedEv = new StartingGearEquippedEvent(entity.Value);
|
||||
RaiseLocalEvent(entity.Value, ref gearEquippedEv);
|
||||
|
||||
if (prototype != null && TryComp<MetaDataComponent>(entity.Value, out var metaData))
|
||||
if (prototype != null && TryComp(entity.Value, out MetaDataComponent? metaData))
|
||||
{
|
||||
SetPdaAndIdCardData(entity.Value, metaData.EntityName, prototype, station);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user