Exemple #1
0
 public override void Update()
 {
     if (backupInterval > 0 && replay.RecordRunning)
     {
         if (backupCounter <= 0)
         {
             replay.CreateBackupReplay(@"recording_cache\REPLAY_BACKUP.mcpr");
             backupCounter = backupInterval;
         }
         else
         {
             backupCounter--;
         }
     }
 }