rockthevote.sp - RoundToFloor() -> RoundToCeil() (#590)

The reason of update is described here https://forums.alliedmods.net/showthread.php?p=2499471
This commit is contained in:
theSaint92 2017-03-01 00:05:00 +01:00 committed by Asher Baker
parent 08238a8036
commit 9d932b47fd

View File

@ -118,7 +118,7 @@ public void OnClientConnected(int client)
g_Voted[client] = false;
g_Voters++;
g_VotesNeeded = RoundToFloor(float(g_Voters) * g_Cvar_Needed.FloatValue);
g_VotesNeeded = RoundToCeil(float(g_Voters) * g_Cvar_Needed.FloatValue);
return;
}
@ -135,7 +135,7 @@ public void OnClientDisconnect(int client)
g_Voters--;
g_VotesNeeded = RoundToFloor(float(g_Voters) * g_Cvar_Needed.FloatValue);
g_VotesNeeded = RoundToCeil(float(g_Voters) * g_Cvar_Needed.FloatValue);
if (!g_CanRTV)
{