protected override void FixedUpdate()
 {
     base.FixedUpdate();
     if (IsServer)
     {
         ClusterClient.Update();
         if (ClusterClient.IsAppRegistered)
         {
             if (restartingScenes.Count > 0)
             {
                 string tempRestartingScenes;
                 while (restartingScenes.TryDequeue(out tempRestartingScenes))
                 {
                     SpawnMap(tempRestartingScenes, true);
                 }
             }
         }
         if (mainThreadActions.Count > 0)
         {
             Action tempMainThreadAction;
             while (mainThreadActions.TryDequeue(out tempMainThreadAction))
             {
                 if (tempMainThreadAction != null)
                 {
                     tempMainThreadAction.Invoke();
                 }
             }
         }
     }
 }