Fix StealthSystem ensuring a comp on a terminating entity in tests (#19413)
This commit is contained in:
parent
93f85751f7
commit
7df72a6c72
|
|
@ -44,7 +44,7 @@ public sealed class StealthSystem : SharedStealthSystem
|
|||
|
||||
if (!enabled)
|
||||
{
|
||||
if (component.HadOutline)
|
||||
if (component.HadOutline && !TerminatingOrDeleted(uid))
|
||||
EnsureComp<InteractionOutlineComponent>(uid);
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue