i got asked to revert it again so sure why not
This commit is contained in:
parent
895c9639d6
commit
f3575929f7
@ -225,12 +225,6 @@ void update_g_VotesNeeded()
|
|||||||
{
|
{
|
||||||
g_VotesNeeded = 1;
|
g_VotesNeeded = 1;
|
||||||
}
|
}
|
||||||
int extra_rtv = MAXPLAYERS / g_VotesNeeded;
|
|
||||||
if (extra_rtv >= g_VotesNeeded)
|
|
||||||
{
|
|
||||||
extra_rtv = g_VotesNeeded / 2;
|
|
||||||
}
|
|
||||||
g_VotesNeeded += extra_rtv;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void UpdateRTV()
|
void UpdateRTV()
|
||||||
@ -505,13 +499,6 @@ public Action Command_DebugRTV(int client, int args)
|
|||||||
}
|
}
|
||||||
|
|
||||||
int iVotesNeededTotal = RoundToFloor(float(iVoters) * GetConVarFloat(g_Cvar_Steam_Needed));
|
int iVotesNeededTotal = RoundToFloor(float(iVoters) * GetConVarFloat(g_Cvar_Steam_Needed));
|
||||||
|
|
||||||
int extra_rtv = MAXPLAYERS / iVotesNeededTotal;
|
|
||||||
if (extra_rtv >= iVotesNeededTotal)
|
|
||||||
{
|
|
||||||
extra_rtv = iVotesNeededTotal / 2;
|
|
||||||
}
|
|
||||||
iVotesNeededTotal += extra_rtv;
|
|
||||||
ReplyToCommand(client, "[RTVE] Currently %d Players needed to start a RTV vote.", iVotesNeededTotal);
|
ReplyToCommand(client, "[RTVE] Currently %d Players needed to start a RTV vote.", iVotesNeededTotal);
|
||||||
|
|
||||||
return Plugin_Handled;
|
return Plugin_Handled;
|
||||||
|
Loading…
Reference in New Issue
Block a user