private void AlertedNewTurbineDestroyed(JetStreamT242Controller obj)
        {
            if (obj != null)
            {
                Log.Info("Removed Sub");
                Turbines.Remove(obj.ID);
                Log.Info("Removed Turbine");

                _marineMonitorDisplay.ItemModified <string>(null);
            }
        }
Beispiel #2
0
 private void AlertedNewTurbineDestroyed(AIJetStreamT242Controller obj)
 {
     QuickLogger.Debug("Attempting to remove turbine", true);
     if (obj != null)
     {
         QuickLogger.Debug("OBJ Not NULL", true);
         Turbines?.Remove(obj.GetPrefabId());
         QuickLogger.Debug("Past Turbine", true);
         _aiMarineMonitorDisplay?.ItemModified(TechType.None);
         QuickLogger.Debug("Removed Turbine");
     }
 }