Commit 97b7e28f authored by Mikleo's avatar Mikleo
Browse files

bugfix votes required

parent 43f75dd5
Pipeline #8593 passed with stages
in 15 seconds
......@@ -8,7 +8,7 @@
#include <empstats>
#include <updater>
#define PluginVersion "1.06"
#define PluginVersion "1.07"
#define UPDATE_URL "https://sourcemod.docs.empiresmod.com/DraftPick/dist/updater.txt"
......@@ -1355,7 +1355,7 @@ bool TryAssignCaptains()
int requiredCaptains = 2- numCaptains;
int leader1 = -1;
int leader2 = -1;
if(GetVoteLeaders(1,leader1,leader2) >= requiredCaptains)
if(GetVoteLeaders(captainVoteLimit,leader1,leader2) >= requiredCaptains)
{
if(requiredCaptains >=1)
SetCaptain(leader1,0);
......
......@@ -4,7 +4,7 @@
{
"Version"
{
"Latest" "1.06"
"Latest" "1.07"
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment