mirror of
https://github.com/WWhiteDreamProject/wwdpublic.git
synced 2026-04-17 05:27:38 +03: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