Exemple #1
0
 private void HandleAlertCooldown() // Gotta keep an eye on this one too.
 {
     if (Alerted)
     {
         if (!PlayerTracker.LineOfSight.enabled)
         {
             if (tm.AlertTimeCount(AlertDuration))
             {
                 CallOffSearch();
             }
         }
         else
         {
             tm.ResetAlertClock();  // Reset the clock!
         }
     }
 }