Fix component generic usages where IComponent would not be valid (#19482)
This commit is contained in:
@@ -62,7 +62,7 @@ public sealed class MorgueSystem : EntitySystem
|
||||
if (!hasMob && HasComp<BodyComponent>(ent))
|
||||
hasMob = true;
|
||||
|
||||
if (HasComp<ActorComponent?>(ent))
|
||||
if (HasComp<ActorComponent>(ent))
|
||||
{
|
||||
_appearance.SetData(uid, MorgueVisuals.Contents, MorgueContents.HasSoul, app);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user