removed that mapleaders automatically just get 999 votes

This commit is contained in:
jenz 2024-07-26 22:53:27 +02:00
parent 0115f8bfc2
commit 770f17c31e
2 changed files with 0 additions and 13 deletions

View File

@ -1070,15 +1070,10 @@ public Handle get_most_nominated_maps(bool create_next_vote)
sm.GetValue(map_iteration, nominate_count_for_particular_map);
//if i is 0 its admin nominated map that must come into the vote.
//if strequal the map was nominated by a leader and must be forced on the vote.
if (!i)
{
nominate_count_for_particular_map = 1999;
}
else if(Leader_Is(i))
{
nominate_count_for_particular_map = 999;
}
else
{
int nominate_worth = RoundToFloor(GetPlayerWorthRTV_boost_(i));

View File

@ -942,10 +942,6 @@ bool PopulateNominateListMenu(Menu menu, int client, const char[] filter = "")
{
nominate_count_for_particular_map = 1999;
}
else if(Leader_Is(owner))
{
nominate_count_for_particular_map = 999;
}
else
{
int nominate_worth = RoundToFloor(GetPlayerWorthRTV_boost_(owner));
@ -991,10 +987,6 @@ bool PopulateNominateListMenu(Menu menu, int client, const char[] filter = "")
if(!owner)
Format(display, sizeof(display), "%s (Admin)", display);
else if (Leader_Is(owner))
{
Format(display, sizeof(display), "%s (Mapleader)", display);
}
else
Format(display, sizeof(display), "%s (%i %s)", display, nominate_count_for_particular_map, spelling);