mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-03-12 22:14:37 +00:00
bruh moment number 5
This commit is contained in:
parent
e293a05d84
commit
146b027569
@ -129,11 +129,9 @@ namespace QSB.SectorSync
|
|||||||
var pos = _sectorDetector._attachedRigidbody.GetPosition();
|
var pos = _sectorDetector._attachedRigidbody.GetPosition();
|
||||||
|
|
||||||
bool IsApproxCloseToClosestSector(QSBSector sectorToCheck)
|
bool IsApproxCloseToClosestSector(QSBSector sectorToCheck)
|
||||||
{
|
=> OWMath.ApproxEquals(Vector3.Distance(sectorToCheck.Position, pos),
|
||||||
return OWMath.ApproxEquals(Vector3.Distance(sectorToCheck.Position, pos),
|
Vector3.Distance(closest.Position, pos),
|
||||||
Vector3.Distance(closest.Position, pos),
|
0.01f);
|
||||||
0.01f);
|
|
||||||
}
|
|
||||||
|
|
||||||
bool IsFakeSectorActive(QSBSector fakeSectorToCheck)
|
bool IsFakeSectorActive(QSBSector fakeSectorToCheck)
|
||||||
=> goodSectors.Any(x => fakeSectorToCheck.FakeSector.AttachedSector == x.AttachedObject);
|
=> goodSectors.Any(x => fakeSectorToCheck.FakeSector.AttachedSector == x.AttachedObject);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user