示例#1
0
        private void ForceRebuild()
        {
            //Rebuild the conduit flow network, so that conduit contents transfer no heat.
            ConduitFlow manager = conduit.GetFlowManager();

            if (manager == null)
            {
                Debug.LogError($"[Pressurized] Could not retrieve the conduit flow manager for conduit type: {ConduitType}");
                return;
            }
            //Without forcing the rebuild, the conduit system will not know that this conduit is now made out of insulation. Rebuilds normally occur when conduits are built/destroyed
            manager.ForceRebuildNetworks();
        }