Update SectorSync.cs

This commit is contained in:
Mister_Nebula 2021-03-12 20:49:48 +00:00
parent 6a9a20cde2
commit 920ef640a9

View File

@ -88,6 +88,7 @@ namespace QSB.SectorSync
.ThenBy(sector => GetRadius(sector));
if (
// if any fake sectors are *roughly* in the same place as other sectors - we want fake sectors to override other sectors
QSBSectorManager.Instance.FakeSectors.Any(
x => OWMath.ApproxEquals(Vector3.Distance(x.Position, trans.position), Vector3.Distance(ordered.FirstOrDefault().Position, trans.position), 0.01f)
&& activeNotNullNotBlacklisted.Any(