mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-03-12 13:13:32 +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();
|
||||
|
||||
bool IsApproxCloseToClosestSector(QSBSector sectorToCheck)
|
||||
{
|
||||
return OWMath.ApproxEquals(Vector3.Distance(sectorToCheck.Position, pos),
|
||||
Vector3.Distance(closest.Position, pos),
|
||||
0.01f);
|
||||
}
|
||||
=> OWMath.ApproxEquals(Vector3.Distance(sectorToCheck.Position, pos),
|
||||
Vector3.Distance(closest.Position, pos),
|
||||
0.01f);
|
||||
|
||||
bool IsFakeSectorActive(QSBSector fakeSectorToCheck)
|
||||
=> goodSectors.Any(x => fakeSectorToCheck.FakeSector.AttachedSector == x.AttachedObject);
|
||||
|
Loading…
x
Reference in New Issue
Block a user