File tree Expand file tree Collapse file tree 3 files changed +264
-394
lines changed Expand file tree Collapse file tree 3 files changed +264
-394
lines changed Original file line number Diff line number Diff line change @@ -33,13 +33,6 @@ namespace Lockstep
3333//TODO: Set up default functions to implement LSManager
3434public static class LockstepManager
3535{
36- public static readonly System . Diagnostics . Stopwatch SimulationTimer = new System . Diagnostics . Stopwatch ( ) ;
37-
38- /// <summary>
39- /// Seconds since start if the last session.
40- /// </summary>
41- /// <value>The seconds.</value>
42- public static double Seconds { get { return SimulationTimer . ElapsedTicks / ( double ) System . TimeSpan . TicksPerSecond ; } }
4336
4437public static MonoBehaviour UnityInstance { get ; private set ; }
4538
@@ -171,9 +164,7 @@ internal static void Initialize (GameManager gameManager)
171164
172165
173166DefaultMessageRaiser . EarlyInitialize ( ) ;
174- SimulationTimer . Stop ( ) ;
175- SimulationTimer . Reset ( ) ;
176- SimulationTimer . Start ( ) ;
167+
177168LSDatabaseManager . Initialize ( ) ;
178169LSUtility . Initialize ( 1 ) ;
179170InfluenceCount = 0 ;
You can’t perform that action at this time.
0 commit comments