mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-04-16 14:42:35 +00:00
Update SectorSync.cs
This commit is contained in:
parent
6a9a20cde2
commit
920ef640a9
@ -88,6 +88,7 @@ namespace QSB.SectorSync
|
|||||||
.ThenBy(sector => GetRadius(sector));
|
.ThenBy(sector => GetRadius(sector));
|
||||||
|
|
||||||
if (
|
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(
|
QSBSectorManager.Instance.FakeSectors.Any(
|
||||||
x => OWMath.ApproxEquals(Vector3.Distance(x.Position, trans.position), Vector3.Distance(ordered.FirstOrDefault().Position, trans.position), 0.01f)
|
x => OWMath.ApproxEquals(Vector3.Distance(x.Position, trans.position), Vector3.Distance(ordered.FirstOrDefault().Position, trans.position), 0.01f)
|
||||||
&& activeNotNullNotBlacklisted.Any(
|
&& activeNotNullNotBlacklisted.Any(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user