Improve test stability (#10913)
This commit is contained in:
@@ -19,6 +19,8 @@ public sealed partial class TriggerSystem
|
||||
//Ensures the entity trigger will have an active component
|
||||
EnsureComp<ActiveTriggerOnTimedCollideComponent>(uid);
|
||||
var otherUID = args.OtherFixture.Body.Owner;
|
||||
if (component.Colliding.ContainsKey(otherUID))
|
||||
return;
|
||||
component.Colliding.Add(otherUID, 0);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user