mirror of
https://github.com/WWhiteDreamProject/wwdpublic.git
synced 2026-04-16 21:17:39 +03:00
Fix component constraints (#20241)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user