mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-10-04 05:17:28 +00:00
Fix StealthSystem ensuring a comp on a terminating entity in tests (#19413)
This commit is contained in:
@@ -44,7 +44,7 @@ public sealed class StealthSystem : SharedStealthSystem
|
||||
|
||||
if (!enabled)
|
||||
{
|
||||
if (component.HadOutline)
|
||||
if (component.HadOutline && !TerminatingOrDeleted(uid))
|
||||
EnsureComp<InteractionOutlineComponent>(uid);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user