Example #1
0
 public override void OnSimDestroy()
 {
     if (!IsOpenDGSInstalled && NiecHelperSituation.__acorewIsnstalled__)
     {
         if (_Actor != null)
         {
             NFinalizeDeath.ForceDeAttachAndDestroyAllSlots(_Actor, false);
         }
         try
         {
             //NFinalizeDeath.ForceDeAttachAndDestroyAllSlots(null, false);
             throw new ExecutionEngineException("DEBUG OnSimDestroy().");
         }
         catch
         {
             if (Simulator.CheckYieldingContext(false))
             {
                 throw;
             }
         }
     }
 }