Exemple #1
0
 public void OnRoundStarted()
 {
     TrackingAndMethods.RoundStartedAt = Time.time;
     Timing.CallDelayed(Subclass.Instance.CommonUtilsEnabled ? 2f : 0.1f, () =>
     {
         Log.Debug("Round started!", Subclass.Instance.Config.Debug);
         foreach (EPlayer player in EPlayer.List)
         {
             TrackingAndMethods.MaybeAddRoles(player);
         }
         foreach (string message in TrackingAndMethods.QueuedCassieMessages)
         {
             Cassie.Message(message, true, false);
             Log.Debug($"Sending message via cassie: {message}", Subclass.Instance.Config.Debug);
         }
         TrackingAndMethods.QueuedCassieMessages.Clear();
     });
 }