Fix containment fields finding one another (#5094)

This commit is contained in:
Saphire Lattice
2021-10-31 20:39:36 +07:00
committed by GitHub
parent 0865409521
commit fdf67d8ee6
2 changed files with 2 additions and 2 deletions

View File

@@ -62,7 +62,7 @@ namespace Content.Server.Singularity.Components
}
containmentFieldComponent.Parent = this;
newEnt.Transform.WorldRotation = dirVec.ToWorldAngle();
newEnt.Transform.WorldRotation = generator1.Owner.Transform.WorldRotation + dirVec.ToWorldAngle();
_fields.Add(newEnt);
currentOffset += dirVec;