Fix component constraints (#20241)

This commit is contained in:
metalgearsloth
2023-09-20 10:12:48 +10:00
committed by Debug
parent f0bd8eec25
commit d084dd2efb
15 changed files with 19 additions and 19 deletions

View File

@@ -154,7 +154,7 @@ namespace Content.Server.Light.EntitySystems
private void OnExpLightInit(EntityUid uid, ExpendableLightComponent component, ComponentInit args)
{
if (TryComp<ItemComponent?>(uid, out var item))
if (TryComp<ItemComponent>(uid, out var item))
{
_item.SetHeldPrefix(uid, "unlit", item);
}