Skip to content

Commit

Permalink
Revert "Automatically start map and preset votes after round end (#78)…
Browse files Browse the repository at this point in the history
…" (#64)

This reverts commit 927e0cb.

Co-authored-by: Doublechest <[email protected]>
  • Loading branch information
doublechest0 and Doublechest authored Aug 27, 2024
1 parent 35c8aa3 commit 48a51cd
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions Content.Server/GameTicking/GameTicker.RoundFlow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,12 @@
using Content.Server.GameTicking.Events;
using Content.Server.Ghost;
using Content.Server.Maps;
using Content.Server.Voting.Managers;
using Content.Shared.CCVar;
using Content.Shared.Database;
using Content.Shared.GameTicking;
using Content.Shared.Mind;
using Content.Shared.Players;
using Content.Shared.Preferences;
using Content.Shared.Voting;
using JetBrains.Annotations;
using Prometheus;
using Robust.Server.Maps;
Expand All @@ -29,7 +27,6 @@ public sealed partial class GameTicker
{
[Dependency] private readonly DiscordWebhook _discord = default!;
[Dependency] private readonly ITaskManager _taskManager = default!;
[Dependency] private readonly IVoteManager _vote = default!;

private static readonly Counter RoundNumberMetric = Metrics.CreateCounter(
"ss14_round_number",
Expand Down Expand Up @@ -296,7 +293,7 @@ public void StartRound(bool force = false)
AnnounceRound();
UpdateInfoText();
SendRoundStartedDiscordMessage();
RaiseLocalEvent(new RoundStartedEvent(RoundId)); // Corvax
RaiseLocalEvent(new RoundStartedEvent(RoundId)); // Stories

#if EXCEPTION_TOLERANCE
}
Expand Down Expand Up @@ -520,8 +517,6 @@ public void RestartRound()
UpdateInfoText();

ReqWindowAttentionAll();
_vote.CreateStandardVote(null, StandardVoteType.Map); // Stories-AutoVote
_vote.CreateStandardVote(null, StandardVoteType.Preset); // Stories-AutoVote
}
}

Expand Down

0 comments on commit 48a51cd

Please sign in to comment.