remove probe lines

This commit is contained in:
Mister_Nebula 2021-07-19 14:54:36 +01:00
parent f72056e13f
commit 3a2d8f2ba4

View File

@ -50,15 +50,5 @@ namespace QSB.ProbeSync
private void OnStartRetrieveProbe(float length)
=> QSBEventManager.FireEvent(EventNames.QSBProbeStartRetrieve, length);
public void OnRenderObject()
{
if (!QSBCore.WorldObjectsReady || !QSBCore.DebugMode || !QSBCore.ShowLinesInDebug)
{
return;
}
Popcron.Gizmos.Line(_attachedProbe.transform.position, Locator.GetPlayerTransform().position, Color.blue);
}
}
}