private IEnumerator VisUpdater()
    {
        conduitMgr.StashVisualGrids();
        if (path.Count == 1)
        {
            PathNode node = path[0];
            path[0] = CreateVisualizer(node);
        }
        ApplyPathToConduitSystem();
        for (int i = 0; i < path.Count; i++)
        {
            PathNode pathNode = path[i];
            pathNode = CreateVisualizer(pathNode);
            path[i]  = pathNode;
            string text = conduitMgr.GetVisualizerString(pathNode.cell) + "_place";
            KBatchedAnimController component = pathNode.visualizer.GetComponent <KBatchedAnimController>();
            if (component.HasAnimation(text))
            {
                pathNode.Play(text);
            }
            else
            {
                pathNode.Play(conduitMgr.GetVisualizerString(pathNode.cell));
            }
            component.TintColour = ((!def.IsValidBuildLocation(null, pathNode.cell, Orientation.Neutral, out string _)) ? Color.red : Color.white);
            TileVisualizer.RefreshCell(pathNode.cell, def.TileLayer, def.ReplacementLayer);
        }
        conduitMgr.UnstashVisualGrids();
        yield return((object)null);

        /*Error: Unable to find new state assignment for yield return*/;
    }