Beispiel #1
0
        private void EndRound()
        {
            OnRoundEndCountdownFinished?.Invoke();
            _gameTicker.EndRound();

            _chatManager.DispatchServerAnnouncement(Loc.GetString("Restarting the round in {0} seconds...", RestartRoundTime));

            Timer.Spawn(TimeSpan.FromSeconds(RestartRoundTime), () => _gameTicker.RestartRound(), CancellationToken.None);
        }
Beispiel #2
0
 private void EndRound()
 {
     OnRoundEndCountdownFinished?.Invoke();
     _gameTicker.EndRound();
 }