From add1714328e2492a1a968532de829a946a9a7d85 Mon Sep 17 00:00:00 2001 From: Jabak <163307958+Jabaks@users.noreply.github.com> Date: Tue, 1 Oct 2024 23:13:31 +0300 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=B0=20=D0=BF=D0=BE=D1=88=D1=91=D0=BB?= =?UTF-8?q?=20=D1=82=D1=8B=20=D0=BD=D0=B0=D1=85=D1=83=D0=B9=20=D0=B2=D1=8B?= =?UTF-8?q?=D0=B1=D0=BB=D1=8F=D0=B4=D0=BE=D0=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../_Honk/RoundEndVote/RoundEndVoteSystem.cs | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/Content.Server/_Honk/RoundEndVote/RoundEndVoteSystem.cs b/Content.Server/_Honk/RoundEndVote/RoundEndVoteSystem.cs index 14e1b64ebc..173c242f84 100644 --- a/Content.Server/_Honk/RoundEndVote/RoundEndVoteSystem.cs +++ b/Content.Server/_Honk/RoundEndVote/RoundEndVoteSystem.cs @@ -12,7 +12,6 @@ public sealed class RoundEndVoteSystem : EntitySystem { [Dependency] private readonly IVoteManager _voteManager = default!; [Dependency] private readonly GameTicker _gameTicker = default!; - [Dependency] private readonly IPlayerManager _playerManager = default!; public override void Initialize() { @@ -24,16 +23,8 @@ public sealed class RoundEndVoteSystem : EntitySystem if(_gameTicker.RunLevel != GameRunLevel.PreRoundLobby) return; - var player = _playerManager.PlayerCount; - - if (player >= 20) - { - _voteManager.CreateStandardVote(null, StandardVoteType.Preset); - } - + _voteManager.CreateStandardVote(null, StandardVoteType.Preset); _voteManager.CreateStandardVote(null, StandardVoteType.Map); - - _gameTicker.SetGamePreset("Secret"); } }