[Vote] Replicate g_allowVote

This commit is contained in:
Diavolo 2022-08-24 17:59:45 +02:00
parent a8a3d7c918
commit 8d351fb205
No known key found for this signature in database
GPG Key ID: FA77F074E98D98A5

View File

@ -317,6 +317,9 @@ namespace Components
Vote::Vote()
{
// Replicate g_allowVote
Utils::Hook::Set<DWORD>(0x5E3A4F, Game::DVAR_INTERNAL | Game::DVAR_CODINFO);
ClientCommand::Add("callvote", Cmd_CallVote_f);
ClientCommand::Add("vote", Cmd_Vote_f);