From 55120725a61ca9654612657e2ac2e188a9434c3d Mon Sep 17 00:00:00 2001 From: Sabian Roberts <31491602+sabianroberts@users.noreply.github.com> Date: Mon, 25 Sep 2023 02:54:40 +0100 Subject: [PATCH] Remove aglistvotes command It was crashing the game and really isn't needed --- binary/dlls/agvote.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/binary/dlls/agvote.cpp b/binary/dlls/agvote.cpp index 838b9757..40bbbebc 100644 --- a/binary/dlls/agvote.cpp +++ b/binary/dlls/agvote.cpp @@ -81,7 +81,7 @@ bool AgVote::HandleCommand(CBasePlayer* pPlayer) return true; } - if (FStrEq(CMD_ARGV(0), "aglistvotes")) + /*if (FStrEq(CMD_ARGV(0), "aglistvotes")) { for (int i = 0; i < sizeof(s_szVotes) / sizeof(s_szVotes[0]); i++) AgConsole(s_szVotes[i], pPlayer); @@ -89,7 +89,7 @@ bool AgVote::HandleCommand(CBasePlayer* pPlayer) GameMode.Help(pPlayer); return true; - } + }*/ else if (FStrEq(m_sVote.c_str(), "agmaxtime")) { if (!ag_vote_setting.value)