public static void QueueStart() { int currentSlotIndex = SaveSlotsManager.CurrentSlotIndex; SaveSlotsManager.CurrentSlotIndex = 49; SaveSlotsManager.BackupIndex = -1; GameController.Instance.SaveGameController.PerformLoad(); SaveSlotsManager.CurrentSlotIndex = currentSlotIndex; if (Characters.Sein) { Characters.Sein.Position = PracticeManager.StartPosition; Characters.Sein.Mortality.DamageReciever.IsImmortal = true; UI.Cameras.Current.MoveToTargetCharacter(0f); } PracticeManager.ShowMessage("Ready...", 5f); PracticeManager.Countdown = 60; PracticeManager.ResetStats(); }
public static void ResetValues() { PracticeManager.FrameCount = Int32.MaxValue; PracticeManager.FrameCountSession = Int32.MaxValue; PracticeManager.FrameCountAll = Int32.MaxValue; PracticeManager.ExtraTicks = 0L; PracticeManager.ExtraFrames = 0; PracticeManager.LagFrames = 0; PracticeManager.DroppedFrames = 0; PracticeManager.MaxDelta = 0L; PracticeManager.Running = false; PracticeManager.Countdown = -1; if (Characters.Sein) { Characters.Sein.Mortality.DamageReciever.IsImmortal = false; } PracticeManager.ResetStats(); }