MapChooser: Cleanup some dumb things.

This commit is contained in:
zaCade
2018-07-27 21:27:42 +02:00
parent a74d4a42c9
commit 2e0556a0d1
2 changed files with 10 additions and 10 deletions
@@ -222,25 +222,25 @@ void AttemptRTV(int client)
{
if (!g_RTVAllowed || (g_Cvar_RTVPostVoteAction.IntValue == 1 && HasEndOfMapVoteFinished()))
{
ReplyToCommand(client, "[SM] %t", "RTV Not Allowed");
ReplyToCommand(client, "[RTVE] %t", "RTV Not Allowed");
return;
}
if (!CanMapChooserStartVote())
{
ReplyToCommand(client, "[SM] %t", "RTV Started");
ReplyToCommand(client, "[RTVE] %t", "RTV Started");
return;
}
if (GetClientCount(true) < g_Cvar_MinPlayers.IntValue)
{
ReplyToCommand(client, "[SM] %t", "Minimal Players Not Met");
ReplyToCommand(client, "[RTVE] %t", "Minimal Players Not Met");
return;
}
if (g_Voted[client])
{
ReplyToCommand(client, "[SM] %t", "Already Voted", g_Votes, g_VotesNeeded);
ReplyToCommand(client, "[RTVE] %t", "Already Voted", g_Votes, g_VotesNeeded);
return;
}
@@ -250,7 +250,7 @@ void AttemptRTV(int client)
g_Votes++;
g_Voted[client] = true;
PrintToChatAll("[SM] %t", "RTV Requested", name, g_Votes, g_VotesNeeded);
PrintToChatAll("[RTVE] %t", "RTV Requested", name, g_Votes, g_VotesNeeded);
if (g_Votes >= g_VotesNeeded)
{
@@ -278,7 +278,7 @@ void StartRTV()
{
GetMapDisplayName(map, map, sizeof(map));
PrintToChatAll("[SM] %t", "Changing Maps", map);
PrintToChatAll("[RTVE] %t", "Changing Maps", map);
CreateTimer(5.0, Timer_ChangeMap, _, TIMER_FLAG_NO_MAPCHANGE);
g_InChange = true;