Revert "Add auto map vote cvar" (#27869)
Revert "Add auto map vote cvar (#27496)"
This reverts commit fe35188e2c.
This commit is contained in:
@@ -4,14 +4,12 @@ using Content.Server.Discord;
|
||||
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;
|
||||
@@ -29,7 +27,6 @@ namespace Content.Server.GameTicking
|
||||
{
|
||||
[Dependency] private readonly DiscordWebhook _discord = default!;
|
||||
[Dependency] private readonly ITaskManager _taskManager = default!;
|
||||
[Dependency] private readonly IVoteManager _voteManager = default!;
|
||||
|
||||
private static readonly Counter RoundNumberMetric = Metrics.CreateCounter(
|
||||
"ss14_round_number",
|
||||
@@ -511,11 +508,6 @@ namespace Content.Server.GameTicking
|
||||
SendStatusToAll();
|
||||
UpdateInfoText();
|
||||
|
||||
if (_configurationManager.GetCVar(CCVars.GameAutoMapVote))
|
||||
{
|
||||
_voteManager.CreateStandardVote(null, StandardVoteType.Map);
|
||||
}
|
||||
|
||||
ReqWindowAttentionAll();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user