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