public override void LoadedGame()
 {
     TickUtility.GetManagerData(currentGame);
     TickUtility.adjustedTicksGameInt = adjustedTicks;
     TimeControlBase.SetCycleLength();
     base.LoadedGame();
 }
Exemplo n.º 2
0
 public static void WriteAll() // called when settings window closes
 {
     if (!showAdvanced)
     {
         scalePawns          = true;
         dontScale           = false;
         speedUnlocked       = false;
         speedReallyUnlocked = false;
     }
     if (dontScale)
     {
         scalePawns = false;
     }
     if (!speedUnlocked)
     {
         speedReallyUnlocked = false;
     }
     speedMultiplier = Mathf.Clamp(speedMultiplier, min / 100f, max / 100f);
     TimeControlBase.SetCycleLength();
 }