Skip to content

Commit

Permalink
Remove aglistvotes command
Browse files Browse the repository at this point in the history
It was crashing the game and really isn't needed
  • Loading branch information
sabianroberts committed Sep 25, 2023
1 parent dd1d48d commit 5512072
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions binary/dlls/agvote.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,15 +81,15 @@ 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);
GameMode.Help(pPlayer);
return true;
}
}*/
else if (FStrEq(m_sVote.c_str(), "agmaxtime"))
{
if (!ag_vote_setting.value)
Expand Down

0 comments on commit 5512072

Please sign in to comment.