ersfdlsjkdhjfd
This commit is contained in:
parent
9849c2352f
commit
1a55f8e0ef
1 changed files with 2 additions and 1 deletions
|
|
@ -57,6 +57,7 @@ public class Node : MonoBehaviour
|
||||||
|
|
||||||
foreach (GameManager.Connection c in looseConnections)
|
foreach (GameManager.Connection c in looseConnections)
|
||||||
{
|
{
|
||||||
|
if (c.lineRenderer != null)
|
||||||
DestroyImmediate(c.lineRenderer.gameObject);
|
DestroyImmediate(c.lineRenderer.gameObject);
|
||||||
gm.connections.Remove(c);
|
gm.connections.Remove(c);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue