private void TickScheduler(int numTicks)
 {
     while (numTicks > 0)
     {
         numTicks--;
         currentTick++;
         scheduler.Tick(currentTick);
     }
 }
 public void OnTick()
 {
     try {
         var currentTick = Find.TickManager.TicksGame;
         for (int i = 0; i < childMods.Count; i++)
         {
             try {
                 childMods[i].Tick(currentTick);
             } catch (Exception e) {
                 Logger.ReportException(e, childMods[i].ModIdentifier, true);
             }
         }
         CallbackScheduler.Tick(currentTick);
         DistributedTicker.Tick(currentTick);
     } catch (Exception e) {
         Logger.ReportException(e, null, true);
     }
 }